PipCollapsed class

The small, draggable window.

Constructors

PipCollapsed({double widthFraction = 0.35, PipCorner position = PipCorner.bottomRight, PipEdges margin = const PipEdges(), double heightDp = 0, double cornerRadius = 12, double borderWidth = 0, CampaignColor? borderColor, bool shadow = true, PipEntryAnimation entryAnimation = const PipEntryAnimation(), PipExitAnimation exitAnimation = const PipExitAnimation()})
const
PipCollapsed.fromJson(Map<String, dynamic>? json, {DesignTokenCatalog designTokens = DesignTokenCatalog.empty})
factory

Properties

borderColor → CampaignColor?
final
borderWidth → double
final
cornerRadius → double
final
entryAnimation → PipEntryAnimation
final
exitAnimation → PipExitAnimation
final
hasFixedHeight → bool
Whether the author pinned an explicit height rather than a ratio.
no setter
hashCode → int
The hash code for this object.
no setterinherited
heightDp → double
Explicit height in logical pixels; 0 = derive from PipMedia.aspectRatio. Its presence on the wire is the sizing mode — there is no separate flag that could fall out of step with it.
final
margin → PipEdges
final
position → PipCorner
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shadow → bool
final
widthFraction → double
Width as a fraction of screen width (0.25…0.7).
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.
inherited