INNER CODE UNIT · Dart
_InviteFriendState
mitesh77/Best-Flutter-UI-Templates · best_flutter_ui_templates/lib/invite_friend_screen.dart:9
class _InviteFriendState extends State<InviteFriend> {
@override
void initState() {
super.initState();
}
@override
Widget build(BuildContext context) {
var brightness = MediaQuery.of(context).platformBrightness;
bool isLightMode = brightness == Brightness.light;
return Container(
color: isLightMode ? AppTheme.white : AppTheme.nearlyBlack,
child: SafeArea(
top: false,
child: Scaffold(
backgroundColor: isLightMode ? AppTheme.white : AppTheme.nearlyBlack,
body: Column(
children: <Widget>[