Brak opisu

about_page.dart 649B

1234567891011121314151617181920212223242526
  1. import 'package:flutter/material.dart';
  2. import 'package:userstory2translate/localization/language_constants.dart';
  3. class AboutPage extends StatefulWidget {
  4. AboutPage({Key key}) : super(key: key);
  5. @override
  6. _AboutPageState createState() => _AboutPageState();
  7. }
  8. class _AboutPageState extends State<AboutPage> {
  9. @override
  10. Widget build(BuildContext context) {
  11. return Scaffold(
  12. appBar: AppBar(
  13. title: Text(getTranslated(context, 'about_us')),
  14. ),
  15. body: Container(
  16. padding: EdgeInsets.all(20),
  17. child: Center(
  18. child: Text(getTranslated(context, 'about')),
  19. ),
  20. ),
  21. );
  22. }
  23. }