FTappableStyle class
A custom FTappable style.
- Implemented types
- Mixed-in types
- Available extensions
Constructors
-
FTappableStyle.new({FWidgetStateMap<
MouseCursor> cursor = const FWidgetStateMap({WidgetState.disabled : MouseCursor.defer, WidgetState.any : SystemMouseCursors.click}), Duration pressedEnterDuration = const Duration(milliseconds: 200), Duration pressedExitDuration = Duration.zero, Tween<double> ? animationTween}) - Creates a FTappableStyle.
Properties
-
animationTween
→ Tween<
double> -
The tween used to animate the scale of the tappable. Defaults to a scale of 0.97.
final
-
cursor
→ FWidgetStateMap<
MouseCursor> -
The mouse cursor for mouse pointers that are hovering over the region. Defaults to SystemMouseCursors.click.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pressedEnterDuration → Duration
-
The duration to wait before applying the pressed effect after the user presses the tile. Defaults to 200ms.
final
- pressedExitDuration → Duration
-
The duration to wait before removing the pressed effect after the user stops pressing the tile. Defaults to 0s.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{FWidgetStateMap< MouseCursor> ? cursor, Duration? pressedEnterDuration, Duration? pressedExitDuration, Tween<double> ? animationTween}) → FTappableStyle -
Returns a copy of this FTappableStyle with the given properties replaced.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
-
transform(
T function(T)) → T -
Available on T, provided by the FTransformables extension
Transform thisT
using the givenfunction
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited