GlassTabBarDebugOptions class
Measurement and debugging settings for a GlassTabBar, given to it by a GlassTabBarDebug above it.
- Annotations
Constructors
- GlassTabBarDebugOptions({GlassTabBarDebugView view = GlassTabBarDebugView.none, Rect? inspector, Offset? hold, bool hideContent = false, int optics = GlassTabBarOptics.all, double? lift})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- hideContent → bool
-
Draws no tab content, so the glass's optics can be looked at alone.
final
- hold → Offset?
-
Holds a press at this point, in the bar's coordinates, from the first
frame on: the lens stays lifted there without a real touch, for still
comparisons.
final
- inspector → Rect?
-
Where GlassTabBarDebugView.sampling draws its inspector, in the bar's
coordinates. Defaults to a panel above the bar.
final
- lift → double?
-
Draws the glass's optics at this lift progress (0 to 1) instead of the
lens's, to compare the transition between resting and lifted at fixed
points.
final
- optics → int
-
The optical stages drawn (a GlassTabBarOptics mask), to compare them
one at a time.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Whether the lens reads the same backdrop capture as the bar, taken
before any of the bar's glass. Turn off only to see what the lens would
read otherwise: the bar's rendered glass.
final
- view → GlassTabBarDebugView
-
What the bar draws for its glass.
final
Methods
-
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