QdsRoundButtonLabelType class sealed
- Implementers
- Available extensions
- Annotations
-
- @freezed
Constructors
- QdsRoundButtonLabelType.iconOnly({required String iconAssetString, @Default(true) bool enableIconColorFilter})
-
constfactory
- QdsRoundButtonLabelType.labelAndIcon({required String label, required String iconAssetString, @Default(true) bool enableIconColorFilter, @Default(QdsRoundButtonDirection.left) QdsRoundButtonDirection buttonDirection})
-
constfactory
- QdsRoundButtonLabelType.labelOnly({required String label})
-
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
Available on QdsRoundButtonLabelType, provided by the QdsRoundButtonLabelTypeExtension extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<
TResult extends Object?> ({required TResult labelOnly(QdsRoundButtonLabelOnly value), required TResult iconOnly(QdsRoundButtonIconOnly value), required TResult labelAndIcon(QdsRoundButtonLabelAndIcon value)}) → TResult -
inherited
-
mapOrNull<
TResult extends Object?> ({TResult? labelOnly(QdsRoundButtonLabelOnly value)?, TResult? iconOnly(QdsRoundButtonIconOnly value)?, TResult? labelAndIcon(QdsRoundButtonLabelAndIcon value)?}) → TResult? -
inherited
-
maybeMap<
TResult extends Object?> ({TResult labelOnly(QdsRoundButtonLabelOnly value)?, TResult iconOnly(QdsRoundButtonIconOnly value)?, TResult labelAndIcon(QdsRoundButtonLabelAndIcon value)?, required TResult orElse()}) → TResult -
inherited
-
maybeWhen<
TResult extends Object?> ({TResult labelOnly(String label)?, TResult iconOnly(String iconAssetString, bool enableIconColorFilter)?, TResult labelAndIcon(String label, String iconAssetString, bool enableIconColorFilter, QdsRoundButtonDirection buttonDirection)?, required TResult orElse()}) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult labelOnly(String label), required TResult iconOnly(String iconAssetString, bool enableIconColorFilter), required TResult labelAndIcon(String label, String iconAssetString, bool enableIconColorFilter, QdsRoundButtonDirection buttonDirection)}) → TResult -
inherited
-
whenOrNull<
TResult extends Object?> ({TResult? labelOnly(String label)?, TResult? iconOnly(String iconAssetString, bool enableIconColorFilter)?, TResult? labelAndIcon(String label, String iconAssetString, bool enableIconColorFilter, QdsRoundButtonDirection buttonDirection)?}) → TResult? -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited