BaseChips constructor

const BaseChips({
  1. Key? key,
  2. required String title,
  3. bool selected = false,
  4. bool isLast = false,
  5. VoidCallback? onPressed,
})

Implementation

const BaseChips({
  final Key? key,
  required final String title,
  final bool selected = false,
  final bool isLast = false,
  final VoidCallback? onPressed,
})  : _title = title,
      _selected = selected,
      _last = isLast,
      _onPressed = onPressed,
      super(key: key);