GrockDirectSelectionMenu class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- GrockDirectSelectionMenu
- Available Extensions
Constructors
-
GrockDirectSelectionMenu({Key? key, Widget? child, int? value, dynamic onChanged(int index)?, required List<
Widget> items, IconData icon = Icons.menu, Color? backgroundColor = Colors.black, double backgroundColorOpacity = 0.4, bool isItemCenter = true, String? hintText, Color? iconColor, double? iconSize, TextStyle? valueStyle, Alignment? alignment = Alignment.bottomCenter, EdgeInsetsGeometry? padding, Color? color, Widget? centerItem, Decoration? decoration, Decoration? foregroundDecoration, double? width, double? height, BoxConstraints? constraints, EdgeInsetsGeometry? margin, double itemExtent = 50.0, double centerItemOpacity = 0.3}) -
const
Properties
- alignment → Alignment?
-
final
- backgroundColor → Color?
-
final
- backgroundColorOpacity → double
-
final
- centerItem → Widget?
-
final
- centerItemOpacity → double
-
final
- child → Widget?
-
final
- color → Color?
-
final
- constraints → BoxConstraints?
-
final
- decoration → Decoration?
-
final
- foregroundDecoration → Decoration?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- hintText → String?
-
final
- icon → IconData
-
final
- iconColor → Color?
-
final
- iconSize → double?
-
final
- isItemCenter → bool
-
final
- itemExtent → double
-
final
-
items
→ List<
Widget> -
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- margin → EdgeInsetsGeometry?
-
final
- onChanged → (dynamic Function(int index)?)
-
final
- padding → EdgeInsetsGeometry?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int?
-
final
- valueStyle → TextStyle?
-
final
- width → double?
-
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< GrockDirectSelectionMenu> -
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