Terepbejárás oldalon vonal és terület tulajdonságainak szerkesztése, mentés

This commit is contained in:
2026-06-16 14:12:44 +02:00
parent 537897005c
commit 1276ac0610
19 changed files with 1206 additions and 17 deletions
@@ -0,0 +1,21 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:terepi_seged/pages/map_survey/presentations/controllers/map_survey_controller.dart';
import 'labeled_slider.dart';
class OpacitySlider extends StatelessWidget {
final MapSurveyController ctrl;
const OpacitySlider({required this.ctrl});
@override
Widget build(BuildContext context) => Obx(() => LabeledSlider(
label: 'Átlátszóság',
value: ctrl.activeEditOpacity.value,
min: 0.1,
max: 1.0,
display: '${(ctrl.activeEditOpacity.value * 100).round()}%',
color: ctrl.activeEditColor.value,
onChanged: (v) => ctrl.activeEditOpacity.value = v,
));
}