Skip to content

Instantly share code, notes, and snippets.

@podcoder
Last active April 1, 2020 08:06
Show Gist options
  • Save podcoder/12741ee3ec3bf716e89e7e1e1c06bc7d to your computer and use it in GitHub Desktop.
Save podcoder/12741ee3ec3bf716e89e7e1e1c06bc7d to your computer and use it in GitHub Desktop.
About Page
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