Skip to content

Commit 6d7828a

Browse files
authored
Merge pull request #96 from deepikahr/rating
Rating
2 parents 3c3c9c7 + 201eaf6 commit 6d7828a

File tree

3 files changed

+74
-1036
lines changed

3 files changed

+74
-1036
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ getflutter-web-kit
3434
getflutter_app
3535
test/.test_coverage.dart
3636
example
37-
getflutter/lib/components/slidable
3837

3938
# Android related
4039
**/android/**/gradle-wrapper.jar

example/lib/main.dart

Lines changed: 74 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ void main() => runApp(MyApp());
88
class MyApp extends StatelessWidget {
99
@override
1010
Widget build(BuildContext context) => MaterialApp(
11-
title: 'GetFlutter',
12-
debugShowCheckedModeBanner: false,
13-
home: MyHomePage(),
14-
);
11+
title: 'GetFlutter',
12+
debugShowCheckedModeBanner: false,
13+
home: MyHomePage(),
14+
);
1515
}
1616

1717
class MyHomePage extends StatefulWidget {
@@ -37,84 +37,84 @@ class _MyHomePageState extends State<MyHomePage> {
3737

3838
@override
3939
Widget build(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,
5343
crossAxisAlignment: CrossAxisAlignment.center,
5444
children: <Widget>[
55-
const Padding(
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+
const Padding(
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+
),
6366
),
64-
textAlign: TextAlign.center,
6567
),
66-
),
68+
GFButton(
69+
size: GFSize.large,
70+
text: 'View on Github',
71+
textStyle: const TextStyle(
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+
],
6785
),
68-
GFButton(
69-
size: GFSize.large,
70-
text: 'View on Github',
71-
textStyle: const TextStyle(
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.',
93-
style: TextStyle(
94-
fontSize: 16,
95-
color: GFColors.WHITE,
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.',
93+
style: TextStyle(
94+
fontSize: 16,
95+
color: GFColors.WHITE,
96+
),
97+
textAlign: TextAlign.center,
98+
),
9699
),
97-
textAlign: TextAlign.center,
98100
),
99-
),
101+
GFButton(
102+
size: GFSize.large,
103+
text: 'View on Playstore',
104+
textStyle:
105+
const TextStyle(fontSize: 16, color: GFColors.WHITE),
106+
icon: SvgPicture.asset(
107+
'lib/assets/playstore.svg',
108+
height: 20,
109+
),
110+
color: GFColors.SUCCESS,
111+
blockButton: true,
112+
onPressed: () {
113+
_launchUrl(_playStoreLink);
114+
}),
115+
],
100116
),
101-
GFButton(
102-
size: GFSize.large,
103-
text: 'View on Playstore',
104-
textStyle:
105-
const TextStyle(fontSize: 16, color: GFColors.WHITE),
106-
icon: SvgPicture.asset(
107-
'lib/assets/playstore.svg',
108-
height: 20,
109-
),
110-
color: GFColors.SUCCESS,
111-
blockButton: true,
112-
onPressed: () {
113-
_launchUrl(_playStoreLink);
114-
}),
115117
],
116118
),
117-
],
118-
),
119-
);
119+
);
120120
}

0 commit comments

Comments
 (0)