Skip to content

Instantly share code, notes, and snippets.

@ramansah
Created December 8, 2018 14:41
Show Gist options
  • Save ramansah/16426e780723e5c63888e19ca87d3f80 to your computer and use it in GitHub Desktop.
Save ramansah/16426e780723e5c63888e19ca87d3f80 to your computer and use it in GitHub Desktop.
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