Skip to content

Commit c98848f

Browse files
committed
fix: issue nisrulz#3
1 parent a4fba76 commit c98848f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

using_tabs/lib/main.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import 'package:using_tabs/tabs/third.dart';
55

66
void main() {
77
runApp(new MaterialApp(
8-
// Title
8+
// Title
99
title: "Using Tabs",
1010
// Home
1111
home: new MyHome()));
@@ -29,7 +29,7 @@ class MyHomeState extends State<MyHome> with SingleTickerProviderStateMixin {
2929
super.initState();
3030

3131
// Initialize the Tab Controller
32-
controller = new TabController(length: 2, vsync: this);
32+
controller = new TabController(length: 3, vsync: this);
3333
}
3434

3535
@override
@@ -73,9 +73,9 @@ class MyHomeState extends State<MyHome> with SingleTickerProviderStateMixin {
7373
@override
7474
Widget build(BuildContext context) {
7575
return new Scaffold(
76-
// Appbar
76+
// Appbar
7777
appBar: new AppBar(
78-
// Title
78+
// Title
7979
title: new Text("Using Tabs"),
8080
// Set the background color of the App Bar
8181
backgroundColor: Colors.blue,

0 commit comments

Comments
 (0)