FormeChipItem<T extends Object> constructor
FormeChipItem<T extends Object> ({
- required Widget label,
- Widget? avatar,
- required T data,
- EdgeInsetsGeometry? padding,
- bool readOnly = false,
- bool visible = true,
- EdgeInsetsGeometry? labelPadding,
- String? tooltip,
- TextStyle? labelStyle,
- CircleBorder avatarBorder = const CircleBorder(),
- Color? backgroundColor,
- Color? checkmarkColor,
- bool? showCheckmark,
- Color? shadowColor,
- Color? disabledColor,
- Color? selectedColor,
- Color? selectedShadowColor,
- VisualDensity? visualDensity,
- double? elevation,
- double? pressElevation,
- MaterialTapTargetSize? materialTapTargetSize,
- OutlinedBorder? shape,
- BorderSide? side,
- Clip clipBehavior = Clip.none,
- Color? surfaceTintColor,
- IconThemeData? iconTheme,
Implementation
FormeChipItem({
required this.label,
this.avatar,
required this.data,
EdgeInsetsGeometry? padding,
this.readOnly = false,
this.visible = true,
this.labelPadding,
this.tooltip,
this.labelStyle,
this.avatarBorder = const CircleBorder(),
this.backgroundColor,
this.checkmarkColor,
this.showCheckmark,
this.shadowColor,
this.disabledColor,
this.selectedColor,
this.selectedShadowColor,
this.visualDensity,
this.elevation,
this.pressElevation,
this.materialTapTargetSize,
this.shape,
this.side,
this.clipBehavior = Clip.none,
this.surfaceTintColor,
this.iconTheme,
}) : padding = padding ?? const EdgeInsets.symmetric(horizontal: 10);