GlobeRegion class
Constructors
-
GlobeRegion({required String id, required String name, required List<List<List<List<double>>>> polygons, Color borderColor = const Color(0xFFFFFFFF), double borderWidth = 1.0, Color? fillColor, Color? highlightColor, bool isVisible = true, List<String> clipAgainst = const []})
-
const
-
GlobeRegion.fromCoordinates({required String id, required String name, required dynamic polygons, Color borderColor = const Color(0xFFFFFFFF), double borderWidth = 1.0, Color? fillColor, Color? highlightColor, bool isVisible = true, List<String> clipAgainst = const []})
-
Factory constructor that accepts either 3-level or 4-level polygon lists
and automatically normalizes them into standard 4-level structure.
factory
Methods
-
copyWith({String? id, String? name, List<List<List<List<double>>>>? polygons, Color? borderColor, double? borderWidth, Color? fillColor, Color? highlightColor, bool? isVisible, List<String>? clipAgainst, bool clearFillColor = false, bool clearHighlightColor = false})
→ GlobeRegion
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited