ExpandableChip constructor
const
ExpandableChip({
- Key? key,
- required IconData icon,
- required dynamic onTap(),
- required double shrinkSize,
- required double expandedSize,
- required Widget child,
- Duration duration = const Duration(milliseconds: 200),
- Color? iconColor,
- Color? backgroundColor,
- EdgeInsets? margin,
- EdgeInsets? padding,
- Curve curve = Curves.linear,
- Matrix4? transform,
- BoxBorder? border,
- List<
BoxShadow> ? boxShadow, - Gradient? gradient,
- Duration showChildDuration = const Duration(milliseconds: 200),
- 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);