Browse Source

fix: restrict button sizes

develop
sina 2 weeks ago
parent
commit
0f374c4937
  1. 2
      lib/features/home/presentation/ui/home_page.dart

2
lib/features/home/presentation/ui/home_page.dart

@ -163,6 +163,7 @@ class _HomePageState extends State<HomePage> {
children: [ children: [
SizedBox( SizedBox(
width: 0.48.w, width: 0.48.w,
height: 100,
child: MyYellowButton( child: MyYellowButton(
onTap: () { onTap: () {
context.read<HomeBloc>().goToLevelPage(context); context.read<HomeBloc>().goToLevelPage(context);
@ -173,6 +174,7 @@ class _HomePageState extends State<HomePage> {
const SizedBox(width: 20), const SizedBox(width: 20),
SizedBox( SizedBox(
width: 0.38.w, width: 0.38.w,
height: 100,
child: MyWhiteButton( child: MyWhiteButton(
title: 'تبرع', title: 'تبرع',
onTap: () { onTap: () {

Loading…
Cancel
Save