Kodaizen

Développement web & mobile
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:heart_harmony/widgets/app_page_scaffold.dart';

class AboutView extends StatelessWidget {
  const AboutView({super.key});

  @override
  Widget build(BuildContext context) {
    return AppPageScaffold(
        pageTitle: AppLocalizations.of(context)!.about,
        leading: IconButton(
          onPressed: () {
            GoRouter.of(context).go("/timer");
          },
          icon: const Icon(Icons.arrow_back),
        ),
        body: SingleChildScrollView(
          child: Container(
            padding: EdgeInsets.symmetric(horizontal: 15),
            margin: const EdgeInsets.symmetric(vertical: 50),
            child: const Center(
              child: Text("About"),
            ),
          ),
        ));
  }
}