FractionalSpanExtent class
Specified the span extent as a fraction of the viewport extent.
For example, a column with a 1.0 as fraction will be as wide as the viewport.
- Inheritance
-
- Object
- SpanExtent
- FractionalSpanExtent
Constructors
- FractionalSpanExtent(double fraction)
-
Creates a FractionalSpanExtent.
const
Properties
- fraction → double
-
The fraction of the SpanExtentDelegate.viewportExtent that the
span should occupy.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
calculateExtent(
SpanExtentDelegate delegate) → double -
Calculates the actual extent of the span in pixels.
override
-
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