SafaehFloatingAppearance class
Shared appearance options for Safaeh floating surfaces.
transparency is expressed as a percentage: 0 is opaque and 100 is
fully transparent. Leave nullable fields unset to use the defaults for
style. A non-null custom field replaces only that part of the preset.
The presets use 0% / 0 for SafaehFloatingSurfaceStyle.solid,
28% / 0 for SafaehFloatingSurfaceStyle.translucent,
48% / 18 for SafaehFloatingSurfaceStyle.glass, and
35% / 32 for SafaehFloatingSurfaceStyle.vista (transparency / sigma).
Constructors
-
SafaehFloatingAppearance({SafaehFloatingSurfaceStyle style = SafaehFloatingSurfaceStyle.solid, double? transparency, double? blurSigma, Color? tintColor, BoxBorder? border, List<
BoxShadow> ? shadows}) -
const
Properties
- blurSigma → double?
-
final
- border → BoxBorder?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shadows
→ List<
BoxShadow> ? -
final
- style → SafaehFloatingSurfaceStyle
-
final
- tintColor → Color?
-
final
- transparency → double?
-
final
Methods
-
copyWith(
{SafaehFloatingSurfaceStyle? style, double? transparency, double? blurSigma, Color? tintColor, BoxBorder? border, List< BoxShadow> ? shadows}) → SafaehFloatingAppearance - Copies this appearance, replacing supplied values.
-
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.
override