FormeChipItem<T extends Object> constructor

FormeChipItem<T extends Object>({
  1. required Widget label,
  2. Widget? avatar,
  3. required T data,
  4. EdgeInsetsGeometry? padding,
  5. bool readOnly = false,
  6. bool visible = true,
  7. EdgeInsetsGeometry? labelPadding,
  8. String? tooltip,
  9. TextStyle? labelStyle,
  10. CircleBorder? avatarBorder,
  11. Color? backgroundColor,
  12. Color? checkmarkColor,
  13. bool? showCheckmark,
  14. Color? shadowColor,
  15. Color? disabledColor,
  16. Color? selectedColor,
  17. Color? selectedShadowColor,
  18. VisualDensity? visualDensity,
  19. double? elevation,
  20. double? pressElevation,
  21. MaterialTapTargetSize? materialTapTargetSize,
  22. OutlinedBorder? shape,
  23. BorderSide? side,
})

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,
  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,
}) : padding = padding ?? const EdgeInsets.symmetric(horizontal: 10);