File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import 'package:using_tabs/tabs/third.dart';
5
5
6
6
void main () {
7
7
runApp (new MaterialApp (
8
- // Title
8
+ // Title
9
9
title: "Using Tabs" ,
10
10
// Home
11
11
home: new MyHome ()));
@@ -29,7 +29,7 @@ class MyHomeState extends State<MyHome> with SingleTickerProviderStateMixin {
29
29
super .initState ();
30
30
31
31
// Initialize the Tab Controller
32
- controller = new TabController (length: 2 , vsync: this );
32
+ controller = new TabController (length: 3 , vsync: this );
33
33
}
34
34
35
35
@override
@@ -73,9 +73,9 @@ class MyHomeState extends State<MyHome> with SingleTickerProviderStateMixin {
73
73
@override
74
74
Widget build (BuildContext context) {
75
75
return new Scaffold (
76
- // Appbar
76
+ // Appbar
77
77
appBar: new AppBar (
78
- // Title
78
+ // Title
79
79
title: new Text ("Using Tabs" ),
80
80
// Set the background color of the App Bar
81
81
backgroundColor: Colors .blue,
You can’t perform that action at this time.
0 commit comments