ZetaFAB constructor
- String? label,
- ScrollController? scrollController,
- VoidCallback? onPressed,
- ZetaFabType type = ZetaFabType.primary,
- ZetaFabSize size = ZetaFabSize.small,
- ZetaWidgetBorder shape = ZetaWidgetBorder.full,
- IconData icon = ZetaIcons.add,
- bool? expanded,
- @Deprecated('Please use expanded instead. ' 'Deprecated in 0.15.0') bool? initiallyExpanded,
- FocusNode? focusNode,
- Key? key,
Constructs ZetaFAB.
Implementation
const ZetaFAB({
this.label,
this.scrollController,
this.onPressed,
this.type = ZetaFabType.primary,
this.size = ZetaFabSize.small,
this.shape = ZetaWidgetBorder.full,
this.icon = ZetaIcons.add,
bool? expanded,
@Deprecated('Please use expanded instead. ' 'Deprecated in 0.15.0') bool? initiallyExpanded,
this.focusNode,
super.key,
}) : expanded = expanded ?? initiallyExpanded ?? label != null;