TButtonTheme class
- Annotations
Constructors
- TButtonTheme({required TWidgetTheme baseTheme, required TButtonSize size, required TButtonShape shape, required ButtonStyle buttonStyle, double? scaleOnPress = 0.95})
-
const
- TButtonTheme.defaultTheme(ColorScheme colors, {TVariant type = TVariant.solid, TButtonShape shape = TButtonShape.normal, TButtonSize size = TButtonSize.sm})
-
factory
Properties
- baseTheme → TWidgetTheme
-
final
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaleOnPress → double?
-
final
- shape → TButtonShape
-
final
- size → TButtonSize
-
final
Methods
-
copyWith(
{TWidgetTheme? baseTheme, TButtonSize? size, TButtonShape? shape, ButtonStyle? buttonStyle, double? scaleOnPress}) → TButtonTheme -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
buildButtonStyle(
TWidgetTheme baseTheme, TButtonShape shape, TButtonSize size) → ButtonStyle