ResponsiveCardData class

An immutable configuration for responsive cards.

This class holds the dimensions of the parent container and the target dimensions that the card should adapt to.

Annotations

Constructors

ResponsiveCardData({required double currentParentWidth, required double currentParentHeight, double targetParentWidth = 300, double targetParentHeight = 400})
const

Properties

currentParentHeight → double
The current height of the parent container.
final
currentParentWidth → double
The current width of the parent container.
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
targetParentHeight → double
The target height of the card, which the responsive card should adapt to.
final
targetParentWidth → double
The target width of the card, which the responsive card should adapt to.
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