Area class

Area composed of 4 points

Constructors

Area({required Point<double> topLeft, required Point<double> topRight, required Point<double> bottomLeft, required Point<double> bottomRight})
Create a new area
const

Properties

bottomLeft Point<double>
The bottom left dot
final
bottomRight Point<double>
The bottom right dot
final
hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
topLeft Point<double>
The top left dot
final
topRight Point<double>
The top right dot
final

Methods

copyWith({Point<double>? topLeft, Point<double>? topRight, Point<double>? bottomLeft, Point<double>? bottomRight}) Area
Creates a copy of this Area but with the given fields replaced with the new values.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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