FlutterBoxConstraints class

Implemented types
Annotations

Constructors

FlutterBoxConstraints({double? minWidth, double? maxWidth, double? minHeight, double? maxHeight})
factory
FlutterBoxConstraints.expand({double? width, double? height})
factory
FlutterBoxConstraints.fromJson(Map<String, dynamic> json)
factory
FlutterBoxConstraints.loose(FlutterSize size)
factory
FlutterBoxConstraints.tight(FlutterSize size)
factory
FlutterBoxConstraints.tightFor({double? width, double? height})
factory
FlutterBoxConstraints.tightForFinite({double? width, double? height})
factory

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

map<TResult extends Object?>(TResult $default(_FlutterBoxConstraints value), {required TResult expand(_FlutterBoxConstraintsExpand value), required TResult loose(_FlutterBoxConstraintsLoose value), required TResult tight(_FlutterBoxConstraintsTight value), required TResult tightFor(_FlutterBoxConstraintsTightFor value), required TResult tightForFinite(_FlutterBoxConstraintsTightForFinite value)}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFlutter(AnyWidgetContext context) BoxConstraints
override
toString() String
A string representation of this object.
inherited

Operators

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