Commit 3ac3f31f authored by Izol's avatar Izol

Update version SS.11.WWW :

 - added color in balance
 - adjust fontSize
parent 8d279c0f
sdk.dir=/Users/macbookpro/Library/Android/sdk sdk.dir=/Users/macbookpro/Library/Android/sdk
flutter.sdk=/Users/macbookpro/Developer/flutter flutter.sdk=/Users/macbookpro/Developer/flutter
flutter.buildMode=debug flutter.buildMode=debug
flutter.versionName=SS.10.WWW flutter.versionName=SS.11.WWW
flutter.versionCode=3 flutter.versionCode=4
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
...@@ -31,19 +31,21 @@ class CustomFilledButton extends StatelessWidget { ...@@ -31,19 +31,21 @@ class CustomFilledButton extends StatelessWidget {
borderRadius: BorderRadius.circular(56), borderRadius: BorderRadius.circular(56),
), ),
), ),
child: Column( child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
Text( Text(
title, title,
style: whiteTextStyle.copyWith( style: whiteTextStyle.copyWith(
fontSize: 18, fontSize: 25,
fontWeight: semiBold, fontWeight: semiBold,
), ),
), ),
SizedBox(width: 5),
Text( Text(
subtitle, subtitle,
style: greyTextStyle.copyWith( style: greyTextStyle.copyWith(
fontSize: 10, fontSize: 18,
fontStyle: FontStyle.italic, fontStyle: FontStyle.italic,
fontWeight: light, fontWeight: light,
), ),
...@@ -51,7 +53,6 @@ class CustomFilledButton extends StatelessWidget { ...@@ -51,7 +53,6 @@ class CustomFilledButton extends StatelessWidget {
), ),
], ],
), ),
), ),
); );
} }
......
...@@ -50,21 +50,99 @@ class HomeServices extends StatelessWidget { ...@@ -50,21 +50,99 @@ class HomeServices extends StatelessWidget {
), ),
), ),
), ),
Text( Row(
title, mainAxisAlignment: MainAxisAlignment.center,
style: blackTextStyle.copyWith( children: [
fontWeight: bold, Text(
fontSize: 15, 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,
),
)
],
),
], ],
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment