added download from excel and zip in frontend

This commit is contained in:
verboomp
2026-02-23 16:19:57 +01:00
parent e0c6a7db5a
commit 746294d640
15 changed files with 221 additions and 90 deletions

View File

@@ -0,0 +1,33 @@
import 'package:flutter/material.dart';
import 'package:fotodocumentation/pages/ui_utils/general_style.dart';
import 'package:fotodocumentation/utils/di_container.dart';
class EvaluationCircleWidget extends StatelessWidget {
GeneralStyle get _generalStyle => DiContainer.get();
final Key buttonKey;
final Color color;
final int value;
final bool selected;
final Future<void> Function(EvaluationCircleWidget) doUpdate;
const EvaluationCircleWidget({super.key, required this.buttonKey, required this.color, required this.value, required this.selected, required this.doUpdate});
@override
Widget build(BuildContext context) {
return InkWell(
key: buttonKey,
onTap: () async => doUpdate(this), //_actionUpdateEvaluation(value),
customBorder: const CircleBorder(),
child: Container(
width: 24,
height: 24,
decoration: BoxDecoration(
color: color,
shape: BoxShape.circle,
border: selected ? Border.all(color: _generalStyle.secondaryWidgetBackgroundColor, width: 3) : null,
),
),
);
}
}