FloatingButtonProps class
floatingActionButton properties
Constructors
- FloatingButtonProps({String? label, IconData? icon, Widget? customIcon, dynamic action()?, BoxDecoration? labelDecoration, Color? backgroundColor, TextStyle? labelStyle})
-
const
Properties
- action → dynamic Function()?
-
action: this function called when user click on floatingActionButton
final
- backgroundColor → Color?
-
backgroundColor: floatingActionButton background color
final
- customIcon → Widget?
-
customIcon: if you need to set custom widget as icon
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
icon: button icon
final
- label → String?
-
label: shown text beside action button
if label is null, label widget will be hidden
final
- labelDecoration → BoxDecoration?
-
labelDecoration: if you need to add custom decoration for label
final
- labelStyle → TextStyle?
-
labelStyle: specific floatingActionButton label textStyle TextStyle
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited