TButtonGroupItem constructor

TButtonGroupItem({
  1. dynamic icon,
  2. dynamic activeIcon,
  3. (double, double)? turns,
  4. String? text,
  5. bool loading = false,
  6. String loadingText = 'Loading...',
  7. Color? color,
  8. String? tooltip,
  9. bool active = false,
  10. Widget? child,
  11. bool? showTick,
  12. Alignment? tickAlignment,
  13. Widget? tickWidget,
  14. VoidCallback? onTap,
  15. dynamic onPressed(
    1. TButtonPressOptions
    )?,
})

Creates a button group item.

Implementation

TButtonGroupItem({
  this.icon,
  this.activeIcon,
  this.turns,
  this.text,
  this.loading = false,
  this.loadingText = 'Loading...',
  this.color,
  this.tooltip,
  this.active = false,
  this.child,
  this.showTick,
  this.tickAlignment,
  this.tickWidget,
  this.onTap,
  this.onPressed,
});