ButtonData<Model> constructor

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

main constructor for ButtonData

Implementation

ButtonData({
  required this.selectedItemWidget,
  this.buttonBorderColor,
  this.buttonBorderRadius,
  this.prefixIcon,
  this.hint,
  this.initialValue,
  this.color,
  this.padding,
  this.buttonWidth = double.infinity,
  this.buttonHeight = 50,
  this.expandedListIcon,
  this.collapsedListIcon,
});