LiquidBarStyle class
Canonical surface styling for the tab bar across its material tiers.
- Annotations
Constructors
-
LiquidBarStyle({GlassStyle glass = lightGlass, Color blurTint = const Color(0x32FFFFFF), Color blurSheenTop = const Color(0x30FFFFFF), Color blurSheenBottom = const Color(0x04FFFFFF), Color blurEdge = const Color(0x65FFFFFF), Color opaqueFill = const Color(0xFFFFFFFF), Color opaqueEdge = const Color(0xFFE6E5E2), List<
BoxShadow> shadow = lightShadow}) -
const
Properties
- blurEdge → Color
-
final
- blurSheenBottom → Color
-
final
- blurSheenTop → Color
-
final
- blurTint → Color
-
final
- glass → GlassStyle
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- opaqueEdge → Color
-
final
- opaqueFill → Color
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shadow
→ List<
BoxShadow> -
final
Methods
-
copyWith(
{GlassStyle? glass, Color? blurTint, Color? blurSheenTop, Color? blurSheenBottom, Color? blurEdge, Color? opaqueFill, Color? opaqueEdge, List< BoxShadow> ? shadow}) → LiquidBarStyle -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
lerp(
LiquidBarStyle a, LiquidBarStyle b, double t) → LiquidBarStyle
Constants
- dark → const LiquidBarStyle
- darkGlass → const GlassStyle
-
darkShadow
→ const List<
BoxShadow> - light → const LiquidBarStyle
- lightGlass → const GlassStyle
-
lightShadow
→ const List<
BoxShadow>