SelectionActionButtonState class

SelectionActionButtonState is a subclass of ActionButtonState that initializes the icon to be the CupertinoIcons.lasso icon and calls the select() method

Inheritance

Constructors

SelectionActionButtonState()

Properties

active bool
read / writeinherited
additionalFlag bool
read / writeinherited
angle double
It's a variable that is used to rotate the icon.
read / writeinherited
context BuildContext
The location in the tree where this widget builds.
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
icon IconData
icon to display.
latefinalinherited
mounted bool
Whether this State object is currently in a tree.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
selected bool
read / writeinherited
widget SelectionActionButton
The current configuration.
read-onlyinherited

Methods

activate() → void
Activate from external widget
inherited
activateNoState() → void
inherited
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
inherited
deactivate() → void
Called when this object is removed from the tree.
inherited
deActivate() → void
Deactivate from external widget
inherited
deActivateNoState() → void
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
deSelect() → void
Deselect from external widget
inherited
didChangeDependencies() → void
Called when a dependency of this State object changes.
inherited
didUpdateWidget(covariant SelectionActionButton oldWidget) → void
Called whenever the widget configuration changes.
inherited
dispose() → void
Called when this object is removed from the tree permanently.
inherited
initState() → void
Called when this object is inserted into the tree.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDismiss() → void
It's a function that takes no arguments and returns nothing.
override
onSelect() → void
It's a function that takes no arguments and returns nothing.
override
reassemble() → void
Called whenever the application is reassembled during debugging, for example during hot reload.
inherited
select() → void
"When the user taps the button, set the selected state to true."
inherited
selectNoState() → void
inherited
setState(VoidCallback fn) → void
Notify the framework that the internal state of this object has changed.
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
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited
whenNotSelected() → void
When the widget is not selected, call the onSelect function and set the state to selected
inherited
whenSelected() → void
When the user selects a suggestion, the onDismiss callback is called, and the selected state is set to false
inherited

Operators

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