ButtonData<Model> class

ButtonData data class

Constructors

ButtonData.new({required Widget selectedItemWidget(Model? selectedElement), Color? buttonBorderColor, BorderRadius? buttonBorderRadius, Widget? hint, String? initialValue, Color? color, EdgeInsetsGeometry? padding, double buttonWidth = double.infinity, double buttonHeight = 50, Widget? expandedListIcon, Widget? collapsedListIcon})
main constructor for ButtonData

Properties

buttonBorderColor Color?
the border color of the main button Color
final
buttonBorderRadius BorderRadius?
the border radius of the main button BorderRadius
final
buttonHeight double
the height of the main button double
final
buttonWidth double
the width of the main button double
final
collapsedListIcon Widget?
the collapsed list icon of the main button Widget
final
color Color?
the color of the main button Color
final
expandedListIcon Widget?
the expanded list icon of the main button Widget
final
hashCode int
The hash code for this object.
no setterinherited
hint Widget?
the hint of the main button Widget
final
initialValue String?
the initial Value of the main button String
final
padding EdgeInsetsGeometry?
the padding of the main button EdgeInsetsGeometry
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedItemWidget Widget Function(Model? selectedElement)
the selected item widget of the main button Widget
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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