-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from SWM-M3PRO/feature/M3-119-renderIndividual…
…Pixel M3-119 개인전 픽셀 표시하는 화면 만들기
- Loading branch information
Showing
4 changed files
with
82 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:google_maps_flutter/google_maps_flutter.dart'; | ||
|
||
class Pixel extends Polygon { | ||
final int x; | ||
final int y; | ||
final int pixelId; | ||
|
||
Pixel({ | ||
required this.x, | ||
required this.y, | ||
required this.pixelId, | ||
required String polygonId, | ||
super.points, | ||
super.geodesic, | ||
super.visible, | ||
super.fillColor = const Color(0x00000000), | ||
super.strokeColor = const Color(0x00000000), | ||
super.strokeWidth = 0, | ||
List<PatternItem> patterns = const <PatternItem>[], | ||
super.consumeTapEvents, | ||
super.onTap, | ||
}) : super( | ||
polygonId: PolygonId(polygonId), | ||
); | ||
} |