GrxChip constructor
const
GrxChip({
- Key? key,
- required Widget label,
- Color backgroundColor = Colors.transparent,
- Color borderColor = Colors.transparent,
- EdgeInsetsGeometry contentPadding = const EdgeInsets.symmetric(horizontal: 16.0, vertical: 8.0),
Implementation
const GrxChip({
super.key,
required this.label,
this.backgroundColor = Colors.transparent,
this.borderColor = Colors.transparent,
this.contentPadding = const EdgeInsets.symmetric(
horizontal: 16.0,
vertical: 8.0,
),
}) : assert(
backgroundColor != Colors.transparent ||
borderColor != Colors.transparent,
);