FAB constructor
const
FAB({
- required Component icon,
- String? label,
- void onPressed()?,
- FABVariant variant = FABVariant.primary,
- FABSize size = FABSize.regular,
- bool disabled = false,
- FABPosition position = FABPosition.bottomRight,
- String? tooltip,
- Key? key,
Implementation
const FAB({
required this.icon,
this.label,
this.onPressed,
this.variant = FABVariant.primary,
this.size = FABSize.regular,
this.disabled = false,
this.position = FABPosition.bottomRight,
this.tooltip,
super.key,
});