MainMenuFloatingActionButton class
Basically the param of a FloatingActionButton, only 3 more params used as the child of FloatingActionButton,
Constructors
- MainMenuFloatingActionButton({required Widget child, required Widget closeMenuChild, String? tooltip, Color? closeMenuForegroundColor, Color? foregroundColor, Color? closeMenuBackgroundColor, Color? backgroundColor, Color? focusColor, Color? hoverColor, Color? splashColor, Object? heroTag, double? elevation, double? focusElevation, double? hoverElevation, double? highlightElevation, double? disabledElevation, required dynamic onPressed(), bool mini = false, ShapeBorder? shape, Clip clipBehavior = Clip.none, FocusNode? focusNode, bool autofocus = false, MaterialTapTargetSize? materialTapTargetSize, bool isExtended = false})
Properties
- autofocus → bool
-
final
- backgroundColor → Color?
-
final
- child → Widget
-
final
- clipBehavior → Clip
-
final
- closeMenuBackgroundColor → Color?
-
final
- closeMenuChild → Widget
-
To set the widget after clicked the FAB
final
- closeMenuForegroundColor → Color?
-
final
- disabledElevation → double?
-
final
- elevation → double?
-
final
- focusColor → Color?
-
final
- focusElevation → double?
-
final
- focusNode → FocusNode?
-
final
- foregroundColor → Color?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- heroTag → Object?
-
final
- highlightElevation → double?
-
final
- hoverColor → Color?
-
final
- hoverElevation → double?
-
final
- isExtended → bool
-
final
- materialTapTargetSize → MaterialTapTargetSize?
-
final
- mini → bool
-
final
- onPressed → dynamic Function()
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → ShapeBorder?
-
final
- splashColor → Color?
-
final
- tooltip → String?
-
final
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