ImageMarker class

Görsel üzerindeki bir marker'ı temsil eden model sınıfı

Bu sınıf, görsel üzerindeki bir noktayı işaretlemek için kullanılır. Marker'ın pozisyonu, rengi, başlığı, notu ve fotoğrafları içerir.

Pozisyon değerleri 0.0 ile 1.0 arasında normalize edilmiş değerlerdir, bu sayede farklı görsel boyutlarında da doğru çalışır.

Constructors

ImageMarker({required double x, required double y, required Color color, String? markerTitle, String? note, List<String>? photos, List<String>? photosName})
ImageMarker.fromJson(Map<String, dynamic> json)
factory

Properties

color Color
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
markerTitle String?
getter/setter pair
note String?
getter/setter pair
photos List<String>?
getter/setter pair
photosName List<String>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
getter/setter pair
y double
getter/setter pair

Methods

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