1
0
mirror of https://github.com/nisrulz/flutter-examples.git synced 2025-11-09 04:58:58 +00:00

refactored: using_tabs example

This commit is contained in:
Nishant Srivastava
2018-01-19 04:49:22 +05:30
parent ee49612fca
commit cd7069c177
4 changed files with 45 additions and 37 deletions

View File

@@ -0,0 +1,23 @@
import 'package:flutter/material.dart';
class Third extends StatelessWidget {
@override
Widget build(BuildContext context) {
return new Container(
child: new Center(
child: new Column(
// center the children
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
new Icon(
Icons.airport_shuttle,
size: 160.0,
color: Colors.blue,
),
new Text("Third Tab")
],
),
),
);
}
}