FSelectTile<T>.suffix constructor

FSelectTile<T>.suffix({
  1. required Widget title,
  2. required T value,
  3. FTileStyle? style,
  4. Widget? subtitle,
  5. Widget? details,
  6. String? semanticLabel,
  7. ValueChanged<bool>? onChange,
  8. bool? enabled,
  9. bool autofocus = false,
  10. FocusNode? focusNode,
  11. ValueChanged<bool>? onFocusChange,
  12. Widget? prefixIcon,
  13. Widget? checkedIcon,
  14. Widget? uncheckedIcon,
  15. Key? key,
})

Creates a FSelectTile with a suffix check icon.

Implementation

FSelectTile.suffix({
  required this.title,
  required this.value,
  this.style,
  this.subtitle,
  this.details,
  this.semanticLabel,
  this.onChange,
  this.enabled,
  this.autofocus = false,
  this.focusNode,
  this.onFocusChange,
  Widget? prefixIcon,
  Widget? checkedIcon,
  Widget? uncheckedIcon,
  super.key,
})  : _icon = prefixIcon,
      checkedIcon = checkedIcon ?? FIcon(FAssets.icons.check),
      uncheckedIcon = uncheckedIcon ?? FIcon.empty(),
      _suffix = true;