SuffaCombobox class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- SuffaCombobox
Constructors
-
SuffaCombobox.new({Key? key, required List<
String> itemList, required dynamic onItemSelect(String type), Color? bgColor, Color? textColor, TextStyle? textFont, Color? optionBgColor, Color? optionHeaderTextColor, Color? optionTextColor, TextStyle? optionTextFont, required String optionHeaderText, double? width, bool? willThereBeABg, int? initialIndex, Color? containerBgColor, double? height}) -
const
Properties
- bgColor → Color?
-
bgColor background colour of combobox
final
- containerBgColor → Color?
-
containerBgColor background color
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
width height of combobox
final
- initialIndex → int?
-
initialIndex initial index
final
-
itemList
→ List<
String> -
itemList option list in combobox
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- onItemSelect → dynamic Function(String type)
-
onItemSelect Function to run when an item is selected in combobox
final
- optionBgColor → Color?
-
optionBgColor background colour of the selection tile
final
- optionHeaderText → String
-
optionHeaderText title on the option selection screen
final
- optionHeaderTextColor → Color?
-
optionHeaderTextColor title colour in the selection box
final
- optionTextColor → Color?
-
optionTextColor the text colour of the options in the selection box
final
- optionTextFont → TextStyle?
-
optionTextFont styles in the selection tile
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textColor → Color?
-
textColor the text colour inside the combobox (if you added textFont parameter, this parameter is invalid)
final
- textFont → TextStyle?
-
textFont text font (if you add it, the textColor parameter is invalid)
final
- width → double?
-
width width of combobox
final
- willThereBeABg → bool?
-
willThereBeABg Will there be a background
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< SuffaCombobox> -
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