Bejárás: pont színének megadása. Projekt export geopackage formátumban

This commit is contained in:
2026-06-21 16:35:09 +02:00
parent 729aa9bc7f
commit 65b355edd9
7 changed files with 784 additions and 16 deletions
+5 -3
View File
@@ -4,6 +4,8 @@ import 'package:terepi_seged/pages/map_survey/presentations/controllers/map_surv
class ColorRow extends StatelessWidget {
final MapSurveyController ctrl;
final double circleSize;
static const _palette = [
Color(0xFF6C63FF),
Color(0xFFE74C3C),
@@ -13,7 +15,7 @@ class ColorRow extends StatelessWidget {
Color(0xFF3498DB),
Color(0xFF8BC34A),
];
const ColorRow({required this.ctrl});
const ColorRow({required this.ctrl, this.circleSize = 40});
@override
Widget build(BuildContext context) {
@@ -31,8 +33,8 @@ class ColorRow extends StatelessWidget {
onTap: () => ctrl.activeEditColor.value = color,
child: AnimatedContainer(
duration: const Duration(milliseconds: 150),
width: 40,
height: 40,
width: circleSize,
height: circleSize,
decoration: BoxDecoration(
color: color,
shape: BoxShape.circle,