FAB constructor
FAB({
- String icon = 'add',
- Object? label,
- ColorToken? backgroundColor,
- ColorToken? foregroundColor,
- Object? onTap,
- String? name,
- Object? visible,
Implementation
FAB({
this.icon = 'add',
Object? label,
this.backgroundColor,
this.foregroundColor,
Object? onTap,
String? name,
Object? visible,
}) : label = normalizeNullableExpression(label),
onTap = normalizeActionSequence(onTap, parameterName: 'onTap'),
super(name: name, visible: _normalizeVisibility(visible));