ZdsFloatingActionButton.extended constructor
- {required Widget label,
- Key? key,
- Widget? icon,
- String? tooltip,
- double? extendedIconLabelSpacing,
- EdgeInsetsGeometry? extendedPadding,
- VoidCallback? onPressed}
Creates a wider StadiumBorder-shaped floating action button with a label
and an optional icon.
The label
argument, usually a Text, must not be null.
Implementation
const ZdsFloatingActionButton.extended({
required Widget label,
super.key,
this.icon,
this.tooltip,
double? extendedIconLabelSpacing,
EdgeInsetsGeometry? extendedPadding,
this.onPressed,
}) : _floatingActionButtonType = _FloatingActionButtonType.extended,
_extendedLabel = label,
_extendedIconLabelSpacing = extendedIconLabelSpacing,
_extendedPadding = extendedPadding;