Skip to content

Commit 3c3c9c7

Browse files
authored
Merge pull request #95 from deepikahr/rating
Rating
2 parents 412ffe8 + 0912e88 commit 3c3c9c7

File tree

8 files changed

+1004
-1122
lines changed

8 files changed

+1004
-1122
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ getflutter-app-kit
3333
getflutter-web-kit
3434
getflutter_app
3535
test/.test_coverage.dart
36+
example
37+
getflutter/lib/components/slidable
3638

3739
# Android related
3840
**/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,
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,
4353
crossAxisAlignment: CrossAxisAlignment.center,
4454
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,
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-
),
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,
6663
),
64+
textAlign: TextAlign.center,
6765
),
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-
],
66+
),
8567
),
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-
),
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,
9996
),
97+
textAlign: TextAlign.center,
10098
),
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-
],
99+
),
116100
),
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+
}),
117115
],
118116
),
119-
);
117+
],
118+
),
119+
);
120120
}

example/pubspec.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ dev_dependencies:
2121

2222
flutter:
2323
uses-material-design: true
24-
2524
assets:
2625
- lib/assets/github.svg
2726
- lib/assets/logo.svg

lib/components/slidable/gf_fractionally_aligned_sized_box.dart

Lines changed: 0 additions & 106 deletions
This file was deleted.

0 commit comments

Comments
 (0)