FancyFab.extended constructor
const
FancyFab.extended({})
Creates an extended FloatingActionButton.
Use isEnabled to avoid ternary statements for onPressed — you can
disable the button with:
isEnabled: falseoronPressed: null
icon, child and isLoading must not be null.
Implementation
const FancyFab.extended({
super.key,
super.isEnabled,
required super.onPressed,
required Widget super.icon,
required Widget label,
super.isLoading,
Widget? loadingLabel,
super.loadingIndicator,
this.backgroundColor,
this.shape,
this.reverseChildren = false,
}) : super(
child: label,
loadingChild: loadingLabel,
);