added SpurGefunden widget(s)
This commit is contained in:
@@ -2,6 +2,7 @@ import 'package:animations/animations.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';
|
||||
import 'package:fforte/screens/Excursion/widgets/spur_gefunden.dart';
|
||||
import 'package:fforte/screens/Excursion/widgets/strecke_u_spurbedingungen.dart';
|
||||
import 'package:fforte/screens/sharedWidgets/datum.dart';
|
||||
import 'package:fforte/screens/sharedWidgets/var_text_field.dart';
|
||||
@@ -82,11 +83,12 @@ class _ExcursionMainState extends State<ExcursionMain> {
|
||||
return rmap;
|
||||
}
|
||||
|
||||
int currentStep = 0;
|
||||
int currentStep = 0;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
List<Step> getSteps() => [
|
||||
List<Step> getSteps() =>
|
||||
[
|
||||
Step(
|
||||
title: Text(AppLocalizations.of(context)!.dateandtime),
|
||||
content: Column(
|
||||
@@ -215,14 +217,29 @@ class _ExcursionMainState extends State<ExcursionMain> {
|
||||
const SizedBox(height: 10),
|
||||
LetzterNiederschlag(controller: getTextFields()["RegenVor"]!),
|
||||
const SizedBox(height: 20),
|
||||
StreckeUSpurbedingungen(),
|
||||
|
||||
StreckeUSpurbedingungen(
|
||||
kmAutoController: getTextFields()["KmAuto"]!,
|
||||
kmFussController: getTextFields()["KmFuss"]!,
|
||||
kmRadController: getTextFields()["KmRad"]!,
|
||||
spGutController: getTextFields()["SpGut"]!,
|
||||
spMittelController: getTextFields()["SpMittel"]!,
|
||||
spSchlechtController: getTextFields()["SpSchlecht"]!,
|
||||
),
|
||||
const SizedBox(height: 20,),
|
||||
const Divider(),
|
||||
SpurGefunden(
|
||||
spurFund: getTextFields()["SpurFund"]!,
|
||||
spurLang: getTextFields()["SpurLang"]!,
|
||||
spurTiere: getTextFields()["SpurTiere"]!,
|
||||
spSicher: getTextFields()["SpSicher"]!,
|
||||
welpenSp: getTextFields()["WelpenSp"]!,
|
||||
welpenAnz: getTextFields()["WelpenAnz"]!,
|
||||
wpSicher: getTextFields()["WpSicher"]!)
|
||||
|
||||
],
|
||||
))
|
||||
];
|
||||
|
||||
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text(AppLocalizations.of(context)!.excursion),
|
||||
@@ -253,10 +270,7 @@ class _ExcursionMainState extends State<ExcursionMain> {
|
||||
if (!isLastStep) {
|
||||
setState(() {
|
||||
currentStep += 1;
|
||||
print(currentStep);
|
||||
});
|
||||
} else {
|
||||
print("help");
|
||||
}
|
||||
},
|
||||
onStepCancel: () {
|
||||
|
||||
Reference in New Issue
Block a user