|
@@ -17,6 +17,7 @@ Widget button(
|
|
String text, {
|
|
String text, {
|
|
double fontSize = 14,
|
|
double fontSize = 14,
|
|
VoidCallback onPressed,
|
|
VoidCallback onPressed,
|
|
|
|
+ double lineHeight,
|
|
}) {
|
|
}) {
|
|
return InkWell(
|
|
return InkWell(
|
|
child: OutlinedButton(
|
|
child: OutlinedButton(
|
|
@@ -38,6 +39,7 @@ Widget button(
|
|
fontWeight: FontWeight.bold,
|
|
fontWeight: FontWeight.bold,
|
|
fontSize: fontSize,
|
|
fontSize: fontSize,
|
|
color: onPressed == null ? Colors.grey : Colors.white,
|
|
color: onPressed == null ? Colors.grey : Colors.white,
|
|
|
|
+ height: lineHeight,
|
|
),
|
|
),
|
|
textAlign: TextAlign.center,
|
|
textAlign: TextAlign.center,
|
|
),
|
|
),
|