Begin anzahlen widget. Losungkm and Genetikm not done yet. also there are no controller

This commit is contained in:
nico
2025-02-25 22:13:15 +01:00
parent 53eeee1ed6
commit c3643c1982
3 changed files with 222 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
import 'package:animations/animations.dart';
import 'package:fforte/screens/Excursion/widgets/anzahlen.dart~';
import 'package:fforte/screens/Excursion/widgets/bima_nutzer.dart';
import 'package:fforte/screens/Excursion/widgets/hund_u_leine.dart';
import 'package:fforte/screens/Excursion/widgets/letzter_niederschlag.dart';
@@ -9,6 +10,8 @@ import 'package:fforte/screens/sharedWidgets/var_text_field.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'widgets/anzahlen.dart';
class ExcursionMain extends StatefulWidget {
const ExcursionMain({super.key});
@@ -234,7 +237,10 @@ class _ExcursionMainState extends State<ExcursionMain> {
spSicher: getTextFields()["SpSicher"]!,
welpenSp: getTextFields()["WelpenSp"]!,
welpenAnz: getTextFields()["WelpenAnz"]!,
wpSicher: getTextFields()["WpSicher"]!)
wpSicher: getTextFields()["WpSicher"]!),
const SizedBox(height: 20,),
Anzahlen()
],
))

View File

@@ -0,0 +1,215 @@
import 'package:flutter/material.dart';
class Anzahlen extends StatefulWidget {
const Anzahlen({super.key});
@override
AnzahlenState createState() => AnzahlenState();
}
class AnzahlenState extends State<Anzahlen> {
@override
Widget build(BuildContext context) {
return Column(
children: [
Column(
children: [
Column(
children: [
Row(
children: [
Expanded(
flex: 2,
child: Align(
alignment: Alignment.bottomLeft,
child: Text(
"Anzahl Losungen",
)),
),
const SizedBox(
width: 20,
),
Expanded(
child: Align(
alignment: Alignment.centerLeft, child: TextField()),
),
const SizedBox(
width: 20,
),
Expanded(
flex: 2,
child: Align(
alignment: Alignment.bottomLeft,
child: Text(
"daven eingesammelt",
)),
),
const SizedBox(
width: 20,
),
Expanded(
child: Align(
alignment: Alignment.centerLeft, child: TextField()),
),
const SizedBox(
height: 20,
),
],
),
Row(
children: [
Expanded(
flex: 6,
child: Align(
alignment: Alignment.bottomLeft,
child: Text(
"daven Genetikproben",
),
),
),
const SizedBox(
width: 20,
),
Expanded(
child: Align(
alignment: Alignment.centerLeft, child: TextField()),
),
],
),
const Divider(height: 40,),
Row(
children: [
Expanded(
flex: 2,
child: Align(
alignment: Alignment.bottomLeft,
child: Text(
"Anzahl Urin-/Makierstellen",
)),
),
const SizedBox(
width: 20,
),
Expanded(
child: Align(
alignment: Alignment.centerLeft, child: TextField()),
),
const SizedBox(
width: 20,
),
Expanded(
flex: 2,
child: Align(
alignment: Alignment.bottomLeft,
child: Text(
"daven Genetikproben",
)),
),
const SizedBox(
width: 20,
),
Expanded(
child: Align(
alignment: Alignment.centerLeft, child: TextField()),
),
const SizedBox(
height: 20,
),
],
),
const Divider(height: 40,),
Row(
children: [
Expanded(
flex: 2,
child: Align(
alignment: Alignment.bottomLeft,
child: Text(
"Anzahl Oestrusblut",
)),
),
const SizedBox(
width: 20,
),
Expanded(
child: Align(
alignment: Alignment.centerLeft, child: TextField()),
),
const SizedBox(
width: 20,
),
Expanded(
flex: 2,
child: Align(
alignment: Alignment.bottomLeft,
child: Text(
"daven Genetikproben",
)),
),
const SizedBox(
width: 20,
),
Expanded(
child: Align(
alignment: Alignment.centerLeft, child: TextField()),
),
const SizedBox(
height: 20,
),
],
),
const Divider(height: 40,),
Row(
children: [
Expanded(
flex: 2,
child: Align(
alignment: Alignment.bottomLeft,
child: Text(
"Anzahl Haarproben",
)),
),
const SizedBox(
width: 20,
),
Expanded(
child: Align(
alignment: Alignment.centerLeft, child: TextField()),
),
const SizedBox(
width: 20,
),
Expanded(
flex: 2,
child: Align(
alignment: Alignment.bottomLeft,
child: Text(
"daven Genetikproben",
)),
),
const SizedBox(
width: 20,
),
Expanded(
child: Align(
alignment: Alignment.centerLeft, child: TextField()),
),
const SizedBox(
height: 20,
),
],
),
],
)
],
)
],
);
}
}