WxAnchorThemeData class

Defines the visual properties of WxAnchor.

Descendant widgets obtain the current WxAnchorThemeData object using WxAnchorTheme.of(context). Instances of WxAnchorThemeData can be customized with WxAnchorThemeData.copyWith or WxAnchorThemeData.merge.

Inheritance
Mixed-in types

Constructors

WxAnchorThemeData({Curve curve = Curves.linear, Duration duration = const Duration(milliseconds: 150), TargetPlatform platform = TargetPlatform.android, WxAnchorStyle style = const WxAnchorStyle(), bool overlay = true, bool feedback = true, bool focusable = true, bool disabled = false, MouseCursor? mouseCursor})
Creates a theme data that can be used for WxAnchorTheme.
const
WxAnchorThemeData.from([WxAnchorThemeData? other, WxAnchorThemeData fallback = const WxAnchorThemeData()])
Creates a WxAnchorThemeData from another one that probably null.

Properties

curve Curve
The curve to apply when animating the parameters of anchor widget.
final
disabled bool
Whether the descent WxAnchor is disabled for interaction.
final
duration Duration
The duration over which to animate the parameters of anchor widget.
final
feedback bool
Whether detected gestures should provide acoustic and/or haptic feedback.
final
focusable bool
If true, this widget may request the primary focus.
final
hashCode int
The hash code for this object.
no setteroverride
mouseCursor MouseCursor?
The cursor for a mouse pointer when it enters or is hovering over the widget.
final
overlay bool
Whether the overlay is enabled or not
final
platform TargetPlatform
The platform, WxAnchor should adapt to target.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style WxAnchorStyle
The WxAnchorStyle to be applied to the anchor widget
final
type Object
The extension's type.
no setterinherited

Methods

copyWith({Curve? curve, Duration? duration, TargetPlatform? platform, WxAnchorStyle? style, bool? overlay, bool? feedback, bool? focusable, bool? disabled, MouseCursor? mouseCursor}) WxAnchorThemeData
Creates a copy of this WxAnchorThemeData but with the given fields replaced with the new values.
override
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
lerp(covariant ThemeExtension<WxAnchorThemeData>? other, double t) WxAnchorThemeData
Linearly interpolate with another ThemeExtension object.
override
merge(WxAnchorThemeData? other) WxAnchorThemeData
Creates a copy of this WxAnchorThemeData but with the given fields replaced with the new values.
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
toMap() Map<String, dynamic>
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

Operators

operator ==(Object other) bool
The equality operator.
override