Flexible class final

A constraint that specifies a flexible size based on a weight.

The ratio of the available space is determined by the weight of the constraint.

Inheritance

Constructors

Flexible(int weight)
Creates a flexible constraint.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weight int
The weight of the constraint.
final

Methods

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