You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: example/lib/main.dart
+76-76Lines changed: 76 additions & 76 deletions
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,10 @@ void main() => runApp(MyApp());
8
8
classMyAppextendsStatelessWidget {
9
9
@override
10
10
Widgetbuild(BuildContext context) =>MaterialApp(
11
-
title:'GetFlutter',
12
-
debugShowCheckedModeBanner:false,
13
-
home:MyHomePage(),
14
-
);
11
+
title:'GetFlutter',
12
+
debugShowCheckedModeBanner:false,
13
+
home:MyHomePage(),
14
+
);
15
15
}
16
16
17
17
classMyHomePageextendsStatefulWidget {
@@ -37,84 +37,84 @@ class _MyHomePageState extends State<MyHomePage> {
37
37
38
38
@override
39
39
Widgetbuild(BuildContext context) =>Scaffold(
40
-
backgroundColor:GFColors.DARK,
41
-
body:Column(
42
-
mainAxisAlignment:MainAxisAlignment.spaceEvenly,
43
-
crossAxisAlignment:CrossAxisAlignment.center,
44
-
children:<Widget>[
45
-
InkWell(
46
-
onTap: () {
47
-
_launchUrl(_githubLibraryRepoLink);
48
-
},
49
-
child:SvgPicture.asset('lib/assets/logo.svg'),
50
-
),
51
-
Column(
52
-
mainAxisAlignment:MainAxisAlignment.center,
40
+
backgroundColor:GFColors.DARK,
41
+
body:Column(
42
+
mainAxisAlignment:MainAxisAlignment.spaceEvenly,
53
43
crossAxisAlignment:CrossAxisAlignment.center,
54
44
children:<Widget>[
55
-
constPadding(
56
-
padding:EdgeInsets.only(bottom:25),
57
-
child:Center(
58
-
child:Text(
59
-
'To keep library size small and code clean we manage example on different repository. which includes clear usage of each and every component that we provide in GetFlutter library. Please have a look there.',
60
-
style:TextStyle(
61
-
fontSize:16,
62
-
color:GFColors.WHITE,
45
+
InkWell(
46
+
onTap: () {
47
+
_launchUrl(_githubLibraryRepoLink);
48
+
},
49
+
child:SvgPicture.asset('lib/assets/logo.svg'),
50
+
),
51
+
Column(
52
+
mainAxisAlignment:MainAxisAlignment.center,
53
+
crossAxisAlignment:CrossAxisAlignment.center,
54
+
children:<Widget>[
55
+
constPadding(
56
+
padding:EdgeInsets.only(bottom:25),
57
+
child:Center(
58
+
child:Text(
59
+
'To keep library size small and code clean we manage example on different repository. which includes clear usage of each and every component that we provide in GetFlutter library. Please have a look there.',
60
+
style:TextStyle(
61
+
fontSize:16,
62
+
color:GFColors.WHITE,
63
+
),
64
+
textAlign:TextAlign.center,
65
+
),
63
66
),
64
-
textAlign:TextAlign.center,
65
67
),
66
-
),
68
+
GFButton(
69
+
size:GFSize.large,
70
+
text:'View on Github',
71
+
textStyle:constTextStyle(
72
+
fontSize:16,
73
+
color:GFColors.WHITE,
74
+
),
75
+
icon:SvgPicture.asset(
76
+
'lib/assets/github.svg',
77
+
height:22,
78
+
),
79
+
color:GFColors.SUCCESS,
80
+
blockButton:true,
81
+
onPressed: () {
82
+
_launchUrl(_githuAppRepoLink);
83
+
}),
84
+
],
67
85
),
68
-
GFButton(
69
-
size:GFSize.large,
70
-
text:'View on Github',
71
-
textStyle:constTextStyle(
72
-
fontSize:16,
73
-
color:GFColors.WHITE,
74
-
),
75
-
icon:SvgPicture.asset(
76
-
'lib/assets/github.svg',
77
-
height:22,
78
-
),
79
-
color:GFColors.SUCCESS,
80
-
blockButton:true,
81
-
onPressed: () {
82
-
_launchUrl(_githuAppRepoLink);
83
-
}),
84
-
],
85
-
),
86
-
Column(
87
-
children:<Widget>[
88
-
// const Padding(
89
-
// padding: EdgeInsets.only(bottom: 25),
90
-
// child: Center(
91
-
// child: Text(
92
-
// 'We also have same app on playstore. It shows various possibilities that you can achieve using GetFlutter library.',
0 commit comments