ButtonData<Model> constructor
ButtonData<Model> ({
- 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
Implementation
ButtonData({
required this.selectedItemWidget,
this.buttonBorderColor,
this.buttonBorderRadius,
this.hint,
this.initialValue,
this.color,
this.padding,
this.buttonWidth = double.infinity,
this.buttonHeight = 50,
this.expandedListIcon,
this.collapsedListIcon,
});