ExpandableChip constructor

const ExpandableChip({
  1. Key? key,
  2. required IconData icon,
  3. required dynamic onTap(),
  4. required double shrinkSize,
  5. required double expandedSize,
  6. required Widget child,
  7. Duration duration = const Duration(milliseconds: 200),
  8. Color? iconColor,
  9. Color? backgroundColor,
  10. EdgeInsets? margin,
  11. EdgeInsets? padding,
  12. Curve curve = Curves.linear,
  13. Matrix4? transform,
  14. BoxBorder? border,
  15. List<BoxShadow>? boxShadow,
  16. Gradient? gradient,
  17. Duration showChildDuration = const Duration(milliseconds: 200),
  18. TextDirection? direction,
})

Implementation

const ExpandableChip({
  Key? key,
  required this.icon,
  required this.onTap,
  required this.shrinkSize,
  required this.expandedSize,
  required this.child,
  this.duration = const Duration(milliseconds: 200),
  this.iconColor,
  this.backgroundColor,
  this.margin,
  this.padding,
  this.curve = Curves.linear,
  this.transform,
  this.border,
  this.boxShadow,
  this.gradient,
  this.showChildDuration = const Duration(milliseconds: 200),
  this.direction,
}) : super(key: key);