Last active
April 1, 2020 08:06
-
-
Save podcoder/12741ee3ec3bf716e89e7e1e1c06bc7d to your computer and use it in GitHub Desktop.
About Page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:flutter_localization_master/localization/language_constants.dart'; | |
class AboutPage extends StatefulWidget { | |
AboutPage({Key key}) : super(key: key); | |
@override | |
_AboutPageState createState() => _AboutPageState(); | |
} | |
class _AboutPageState extends State<AboutPage> { | |
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar( | |
title: Text(getTranslated(context, 'about_us')), | |
), | |
body: Container( | |
padding: EdgeInsets.all(20), | |
child: Center( | |
child: Text(getTranslated(context, 'about')), | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment