discontinuedPackage anywidget has been discontinued.

FlutterSizedBox class

Implemented types
Annotations

Constructors

FlutterSizedBox({@cN FlutterKey? key, double? width, double? height, @cN AnyWidget? child})
factory
FlutterSizedBox.expand({@cN FlutterKey? key, @cN AnyWidget? child})
factory
FlutterSizedBox.fromJson(Map<String, dynamic> json)
factory
FlutterSizedBox.fromSize({@cN FlutterKey? key, @cN AnyWidget? child, FlutterSize? size})
factory
FlutterSizedBox.shrink({@cN FlutterKey? key, @cN AnyWidget? child})
factory
FlutterSizedBox.square({@cN FlutterKey? key, @cN AnyWidget? child, double? dimension})
factory

Properties

child → AnyWidget?
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
key → FlutterKey?
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>(TResult $default(_FlutterWidgetSizedBox value), {required TResult expand(_FlutterWidgetSizedBoxExpand value), required TResult fromSize(_FlutterWidgetSizedBoxFromSize value), required TResult shrink(_FlutterWidgetSizedBoxShrink value), required TResult square(_FlutterWidgetSizedBoxSquare value)}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
toWidget(AnyWidgetContext context) → SizedBox
override

Operators

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

Constants

unionValue → const String
unionValueExpand → const String
unionValueFromSize → const String
unionValueShrink → const String
unionValueSquare → const String