WxAnchorThemeData.from constructor
WxAnchorThemeData.from([
- WxAnchorThemeData? other,
- WxAnchorThemeData fallback = const WxAnchorThemeData()
Creates a WxAnchorThemeData from another one that probably null.
Implementation
WxAnchorThemeData.from([
WxAnchorThemeData? other,
WxAnchorThemeData fallback = const WxAnchorThemeData(),
]) : curve = other?.curve ?? fallback.curve,
duration = other?.duration ?? fallback.duration,
platform = other?.platform ?? fallback.platform,
style = other?.style ?? fallback.style,
overlay = other?.overlay ?? fallback.overlay,
feedback = other?.feedback ?? fallback.feedback,
focusable = other?.focusable ?? fallback.focusable,
disabled = other?.disabled ?? fallback.disabled,
mouseCursor = other?.mouseCursor ?? fallback.mouseCursor;