EnhanceExpandIcon constructor

const EnhanceExpandIcon({
  1. Key? key,
  2. bool isExpanded = false,
  3. double size = 24.0,
  4. required ValueChanged<bool>? onPressed,
  5. EdgeInsetsGeometry padding = const EdgeInsets.all(8.0),
  6. Color? color,
  7. Color? disabledColor,
  8. Color? expandedColor,
  9. Widget? arrow,
  10. Widget? arrowExpanded,
})

Creates an EnhanceExpandIcon with the given padding, and a callback that is triggered when the icon is pressed.

Implementation

const EnhanceExpandIcon({
  Key? key,
  this.isExpanded = false,
  this.size = 24.0,
  required this.onPressed,
  this.padding = const EdgeInsets.all(8.0),
  this.color,
  this.disabledColor,
  this.expandedColor,
  this.arrow,
  this.arrowExpanded,
}) : super(key: key);