FABProps constructor
const
FABProps({
- required Widget icon,
- String? label,
- void onPressed()?,
- ColorVariant color = ColorVariant.primary,
- ComponentSize size = ComponentSize.md,
- bool disabled = false,
- FABPosition position = FABPosition.bottomRight,
- String? tooltip,
- String? id,
- Map<
String, String> ? attributes,
Implementation
const FABProps({
required this.icon,
this.label,
this.onPressed,
this.color = ColorVariant.primary,
this.size = ComponentSize.md,
this.disabled = false,
this.position = FABPosition.bottomRight,
this.tooltip,
this.id,
this.attributes,
});