TButtonExtension extension

Utility extension for TButton updates.

on

Methods

copyWith({TButtonTheme? theme, TWidgetTheme? baseTheme, TButtonShape? shape, TButtonType? type, TButtonSize? size, dynamic icon, String? imageUrl, Color? color, String? text, bool? loading, String? loadingText, String? tooltip, bool? active, dynamic activeIcon, Color? activeColor, (double, double)? turns, bool? showTick, Alignment? tickAlignment, Widget? tickWidget, Widget? child, VoidCallback? onTap, dynamic onPressed(TButtonPressOptions)?, ValueChanged<bool>? onChanged, Duration? duration, Duration? throttleDuration}) TButton

Available on TButton, provided by the TButtonExtension extension

Creates a copy of the button with updated properties.