SpeedDialFabWidget class

Inheritance

Constructors

SpeedDialFabWidget({Color secondaryBackgroundColor = Colors.white, Color secondaryForegroundColor = Colors.black, Color primaryBackgroundColor = Colors.white, Color primaryForegroundColor = Colors.black, IconData primaryIconCollapse = Icons.expand_less, IconData primaryIconExpand = Icons.expand_less, double rotateAngle = math.pi, required List<IconData> secondaryIconsList, required List<Function> secondaryIconsOnPress, List<String>? secondaryIconsText, double primaryElevation = 5.0, double secondaryElevation = 10.0})

Properties

hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
primaryBackgroundColor Color
primaryBackgroundColor Changes the background color of the primary FAB button. The default value is Colors.white
final
primaryElevation double
primaryElevation Changes the elevation of the primary FAB button. The default value is 10.0
final
primaryForegroundColor Color
primaryForegroundColor Changes the foreground color of the primary FAB button. The default value is Colors.black
final
primaryIconCollapse IconData
primaryIconCollapse Changes primary icon when it is collapsed The default value is Icons.expand_less
final
primaryIconExpand IconData
primaryIconExpand Change primary icon when it is expanded The default value is Icons.expand_less
final
rotateAngle double
rotateAngle Change the rotation angle to animate primary FAB when clicked The default value is math.pi
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryBackgroundColor Color
secondaryBackgroundColor Changes the background color of the secondary FAB button. The default value is Colors.white
final
secondaryElevation double
secondaryElevation Changes the elevation of the secondary FAB button. The default value is 10.0
final
secondaryForegroundColor Color
secondaryForegroundColor Changes the foreground color of the secondary FAB button. The default value is Colors.black
final
secondaryIconsList List<IconData>
Required: secondaryIconsList Change the list of icons of secondary FAB, , should be the same size of @secondaryIconsText and @secondaryIconsOnPress Should have the same size of secondaryIconsOnPress and secondaryIconsList
final
secondaryIconsOnPress List<Function>
Required: secondaryIconsOnPress Change the list of onPress action, should be the same size of @secondaryIconsList and @secondaryIconsText Should have the same size of secondaryIconsText and secondaryIconsList
final
secondaryIconsText List<String>?
secondaryIconsText Change the list of text of secondary FAB, should be the same size of @secondaryIconsList and @secondaryIconsOnPress This will be the tooltip of the secondary FAB, by default there is no tooltip. if not null, should have the same size of secondaryIconsOnPress and secondaryIconsList
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StatefulWidget>
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited