WidgetViewPortFactory class abstract
Dynamically configures ViewPort.
Given a BuildContext to the WidgetViewPortFactory.create function, an implementation is expected to produce a ViewPort instance. The specific ViewPort instance to be produced is defined by the implementation itself.
See also:
- FixedViewPortFactory - constitutes a fixed viewport.
- MediaQueryViewPortFactory - a ViewPort adapter for MediaQueryData.
- MinimalOfViewPortFactory - returns a minimal value out of the two ViewPort instances given.
- MaximalOfViewPortFactory - returns a maximal value out of the two ViewPort instances given.
- UpperBoundedViewPortFactory - returns a value of the underlying ViewPort instance upper bounded by the given values.
- LowerBoundedViewPortFactory - returns a value of the underlying ViewPort instance lower bounded by the given values.
- CoercedViewPortFactory - returns a value of the underlying ViewPort instance coerced by the given values.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
create(
BuildContext context) → ViewPort -
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