Created
December 8, 2018 14:41
-
-
Save ramansah/16426e780723e5c63888e19ca87d3f80 to your computer and use it in GitHub Desktop.
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'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
title: 'Welcome to Flutter', | |
home: Scaffold( | |
appBar: AppBar( | |
title: Text('Timer'), | |
), | |
body: Center( | |
child: Row( | |
mainAxisAlignment: MainAxisAlignment.center, | |
children: <Widget>[ | |
CustomTextContainer(), | |
CustomTextContainer(), | |
CustomTextContainer(), | |
], | |
), | |
), | |
), | |
); | |
} | |
} | |
class CustomTextContainer extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return Text('00'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment