AdaptiveConstraints class

Used to see if a range of AdaptiveWindowType should be shown in the window. If the user sets one of the variables below to true than that window type should be shown within the AdaptiveContainer.

Constructors

AdaptiveConstraints({bool xsmall = true, bool small = true, bool medium = true, bool large = true, bool xlarge = true})
const
AdaptiveConstraints.large({bool xsmall = false, bool small = false, bool medium = false, bool large = true, bool xlarge = false})
const
AdaptiveConstraints.medium({bool xsmall = false, bool small = false, bool medium = true, bool large = false, bool xlarge = false})
const
AdaptiveConstraints.small({bool xsmall = false, bool small = true, bool medium = false, bool large = false, bool xlarge = false})
const
AdaptiveConstraints.xlarge({bool xsmall = false, bool small = false, bool medium = false, bool large = false, bool xlarge = true})
const
AdaptiveConstraints.xsmall({bool xsmall = true, bool small = false, bool medium = false, bool large = false, bool xlarge = false})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
large bool
final
medium bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
small bool
final
xlarge bool
final
xsmall bool
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
withinAdaptiveConstraint(BuildContext context) bool

Operators

operator ==(Object other) bool
The equality operator.
inherited