labeledIconBtn function
- {required IconButton child,
- required String label,
- TextStyle? labelStyle}
Creates a labled Icon Button in the format that the label is vertically under the Icon Button.
button
refers to the target IconButton and the label
is the label for it and the optional labelStyle
Implementation
Widget labeledIconBtn(
{required IconButton child,
required String label,
TextStyle? labelStyle}) =>
LaF.useLabeledBottomAppBarButtons
? Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
mainAxisSize: MainAxisSize.min,
children: [child, Text(label, style: labelStyle)])
: child;