FlutterBoxFit class

Implemented types
Annotations

Constructors

FlutterBoxFit.contain()
factory
FlutterBoxFit.cover()
factory
FlutterBoxFit.fill()
factory
FlutterBoxFit.fitHeight()
factory
FlutterBoxFit.fitWidth()
factory
FlutterBoxFit.fromJson(Map<String, dynamic> json)
factory
FlutterBoxFit.none()
factory
FlutterBoxFit.scaleDown()
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?>({required TResult contain(_FlutterBoxFitContain value), required TResult cover(_FlutterBoxFitCover value), required TResult fill(_FlutterBoxFitFill value), required TResult fitHeight(_FlutterBoxFitFitHeight value), required TResult fitWidth(_FlutterBoxFitFitWidth value), required TResult none(_FlutterBoxFitNone value), required TResult scaleDown(_FlutterBoxFitScaleDown value)}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFlutter(AnyWidgetContext config) BoxFit
override
toString() String
A string representation of this object.
inherited

Operators

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