ZeroSpeedDial class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- ZeroSpeedDial
Constructors
-
ZeroSpeedDial.new({Key? key, Widget? activeChild, Widget? inactiveChild, List<
ZeroSpeedDialItem> children = const [], ZeroSpeedDialStyle? style, ZeroTooltipVariant? tooltipVariant, Brightness? tooltipBrightness, ZeroSpeedDialDirection direction = ZeroSpeedDialDirection.vertical, Curve curve = Curves.easeOutCubic, Duration duration = const Duration(milliseconds: 400), Text? label}) -
const
Properties
- activeChild → Widget?
-
activeChild is widget that will be shown when the floating button is tapped and the children are shown.
final
-
children
→ List<
ZeroSpeedDialItem> -
children ia a list of ZeroSpeedDialItem that will shown when floating button is tapped.
final
- curve → Curve
-
curve is a curve for children expansion animation
by default it will be Curves.easeOutCubic
if you want to use other curve, you can set it to other Curve
final
- direction → ZeroSpeedDialDirection
-
direction is a direction for children expansion
by default it will be ZeroSpeedDialDirection.vertical
if you want to use horizontal expansion, you can set it to ZeroSpeedDialDirection.horizontal
final
- duration → Duration
-
duration is a duration for children expansion animation
by default it will be 400 milliseconds
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inactiveChild → Widget?
-
inactiveChild is widget that will be shown when the floating button is tapped and the children are hidden.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- label → Text?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → ZeroSpeedDialStyle?
-
style is a styling for speed dial
final
- tooltipBrightness → Brightness?
-
final
- tooltipVariant → ZeroTooltipVariant?
-
tooltipVariant is a variant for children tooltip
by default it will be ZeroTooltipVariant.custom
if you want to use rectangle tooltip, you can set it to ZeroTooltipVariant.rectangle
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< ZeroSpeedDial> -
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, int wrapWidth = 65}) → 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