Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
Dolan SelfService Topup
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Faizol
Dolan SelfService Topup
Commits
3ac3f31f
Commit
3ac3f31f
authored
Apr 28, 2023
by
Izol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update version SS.11.WWW :
- added color in balance - adjust fontSize
parent
8d279c0f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
109 additions
and
293 deletions
+109
-293
local.properties
android/local.properties
+2
-2
home_page.dart
lib/ui/pages/home_page.dart
+11
-274
buttons.dart
lib/ui/widgets/buttons.dart
+5
-4
home_services.dart
lib/ui/widgets/home_services.dart
+91
-13
No files found.
android/local.properties
View file @
3ac3f31f
sdk.dir
=
/Users/macbookpro/Library/Android/sdk
flutter.sdk
=
/Users/macbookpro/Developer/flutter
flutter.buildMode
=
debug
flutter.versionName
=
SS.10.WWW
flutter.versionCode
=
3
\ No newline at end of file
flutter.versionName
=
SS.11.WWW
flutter.versionCode
=
4
\ No newline at end of file
lib/ui/pages/home_page.dart
View file @
3ac3f31f
This diff is collapsed.
Click to expand it.
lib/ui/widgets/buttons.dart
View file @
3ac3f31f
...
...
@@ -31,19 +31,21 @@ class CustomFilledButton extends StatelessWidget {
borderRadius:
BorderRadius
.
circular
(
56
),
),
),
child:
Column
(
child:
Row
(
mainAxisAlignment:
MainAxisAlignment
.
center
,
children:
[
Text
(
title
,
style:
whiteTextStyle
.
copyWith
(
fontSize:
18
,
fontSize:
25
,
fontWeight:
semiBold
,
),
),
SizedBox
(
width:
5
),
Text
(
subtitle
,
style:
greyTextStyle
.
copyWith
(
fontSize:
1
0
,
fontSize:
1
8
,
fontStyle:
FontStyle
.
italic
,
fontWeight:
light
,
),
...
...
@@ -51,7 +53,6 @@ class CustomFilledButton extends StatelessWidget {
),
],
),
),
);
}
...
...
lib/ui/widgets/home_services.dart
View file @
3ac3f31f
...
...
@@ -50,21 +50,99 @@ class HomeServices extends StatelessWidget {
),
),
),
Text
(
title
,
style:
blackTextStyle
.
copyWith
(
fontWeight:
bold
,
fontSize:
15
,
),
Row
(
mainAxisAlignment:
MainAxisAlignment
.
center
,
children:
[
Text
(
title
,
style:
blackTextStyle
.
copyWith
(
fontWeight:
semiBold
,
fontSize:
22
,
),
),
SizedBox
(
width:
5
,),
Text
(
subtitle
,
style:
greyTextStyle
.
copyWith
(
fontWeight:
light
,
fontSize:
18
,
),
)
],
),
Text
(
subtitle
,
style:
greyTextStyle
.
copyWith
(
fontWeight:
light
,
fontStyle:
FontStyle
.
italic
,
fontSize:
8
],
);
}
}
class
ButtonQris
extends
StatelessWidget
{
final
String
iconUrl
;
final
String
title
;
final
String
subtitle
;
final
VoidCallback
?
onPressed
;
const
ButtonQris
({
Key
?
key
,
required
this
.
iconUrl
,
required
this
.
title
,
required
this
.
subtitle
,
this
.
onPressed
,
})
:
super
(
key:
key
);
@override
Widget
build
(
BuildContext
context
)
{
return
Column
(
children:
[
Container
(
width:
250
,
height:
70
,
margin:
const
EdgeInsets
.
only
(
bottom:
10
,
),
decoration:
BoxDecoration
(
borderRadius:
BorderRadius
.
circular
(
20
),
color:
purpleColor
,
boxShadow:
[
BoxShadow
(
color:
Colors
.
grey
.
withOpacity
(
0.3
),
//color of shadow
spreadRadius:
3
,
//spread radius
blurRadius:
7
,
// blur radius
offset:
Offset
(
3
,
3
),
// changes position of shadow
//first paramerter of offset is left-right
//second parameter is top to down
),
//you can set more BoxShadow() here
],
),
child:
Center
(
child:
Image
.
asset
(
iconUrl
,
color:
whiteColor
,
width:
25
,
),
),
)
),
Column
(
mainAxisAlignment:
MainAxisAlignment
.
center
,
children:
[
Text
(
title
,
style:
blackTextStyle
.
copyWith
(
fontWeight:
semiBold
,
fontSize:
22
,
),
),
SizedBox
(
width:
5
,),
Text
(
subtitle
,
style:
greyTextStyle
.
copyWith
(
fontWeight:
light
,
fontStyle:
FontStyle
.
italic
,
fontSize:
18
,
),
)
],
),
],
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment