ReportElement class

Single element of the report template

Constructors

ReportElement({required String id, required ReportElementType type, double x = 0, double y = 0, double width = 20, double height = 10, double rotation = 0, int zIndex = 0, Map<String, dynamic>? properties})
ReportElement.fromJson(Map<String, dynamic> json)
factory

Properties

displayName → String
Display name of the element type
no setter
hashCode → int
The hash code for this object.
no setterinherited
height ↔ double
getter/setter pair
icon → IconData
Icon of the element type
no setter
id → String
final
properties ↔ Map<String, dynamic>
getter/setter pair
rotation ↔ double
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → ReportElementType
final
width ↔ double
getter/setter pair
x ↔ double
getter/setter pair
y ↔ double
getter/setter pair
zIndex ↔ int
getter/setter pair

Methods

copyWith({String? id, ReportElementType? type, double? x, double? y, double? width, double? height, double? rotation, int? zIndex, Map<String, dynamic>? properties}) → ReportElement
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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