FlutterRect class
- Implemented types
-
- Annotations
-
Constructors
-
FlutterRect.fromCenter({required FlutterOffset center, required double width, required double height})
-
factory
-
FlutterRect.fromCircle({required FlutterOffset center, required double radius})
-
factory
-
FlutterRect.fromJson(Map<String, dynamic> json)
-
factory
-
FlutterRect.fromLTRB(double left, double top, double right, double bottom)
-
factory
-
FlutterRect.fromLTWH(double left, double top, double width, double height)
-
factory
-
FlutterRect.fromPoints(FlutterOffset a, FlutterOffset b)
-
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 fromCenter(_FlutterRectFroMCenter value), required TResult fromCircle(_FlutterRectFromCircle value), required TResult fromLTRB(_FlutterRectFromLTRB value), required TResult fromLTWH(_FlutterRectFromLTWH value), required TResult fromPoints(_FlutterRectFromPoints value)})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toFlutter(AnyWidgetContext config)
→ Rect
-
override
-
toString()
→ String
-
A string representation of this object.
inherited