Make app buttons the same height as outlined buttons

This commit is contained in:
Hillel Coren 2021-10-21 17:24:08 +03:00
parent 12426aed84
commit b8c7789b83
1 changed files with 4 additions and 1 deletions

View File

@ -35,7 +35,10 @@ class AppButton extends StatelessWidget {
text: label, text: label,
alignment: MainAxisAlignment.center, alignment: MainAxisAlignment.center,
) )
: Text(label, overflow: TextOverflow.ellipsis), : SizedBox(
child: Text(label, overflow: TextOverflow.ellipsis),
height: 24,
),
onPressed: onPressed, onPressed: onPressed,
); );