ButtonData<Model> constructor

ButtonData<Model>({
  1. required Widget selectedItemWidget(
    1. Model? selectedElement
    ),
  2. Color? buttonBorderColor,
  3. BorderRadius? buttonBorderRadius,
  4. Widget? hint,
  5. String? initialValue,
  6. Color? color,
  7. EdgeInsetsGeometry? padding,
  8. double buttonWidth = double.infinity,
  9. double buttonHeight = 50,
  10. Widget? expandedListIcon,
  11. 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,
});