fixed new button width
This commit is contained in:
parent
c3a8172739
commit
c7a556311d
|
@ -17,7 +17,11 @@ class FancyButton extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return ElevatedButton(onPressed: onPressed, child: child);
|
||||
return ElevatedButton(onPressed: onPressed,
|
||||
child: SizedBox(
|
||||
width: width,
|
||||
child: Center(child: child),
|
||||
),);
|
||||
return Padding(
|
||||
padding: vStandardVerticalPadding,
|
||||
child: Container(
|
||||
|
|
Loading…
Reference in New Issue