OptimusChip constructor

const OptimusChip({
  1. Key? key,
  2. required Widget child,
  3. required VoidCallback? onRemoved,
  4. VoidCallback? onTap,
  5. bool hasError = false,
  6. bool isEnabled = true,
})

Implementation

const OptimusChip({
  super.key,
  required this.child,
  required this.onRemoved,
  this.onTap,
  this.hasError = false,
  this.isEnabled = true,
});