import 'package:flutter/material.dart'; class StreckeUSpurbedingungen extends StatefulWidget { const StreckeUSpurbedingungen({super.key}); @override StreckeUSpurbedingungenState createState() => StreckeUSpurbedingungenState(); } class StreckeUSpurbedingungenState extends State { @override Widget build(BuildContext context) { return Column( children: [ Align( alignment: Alignment.bottomLeft, child: Text("Zurueckgelegte Strecke (km)", style: TextStyle(fontSize: 16, decoration: TextDecoration.underline), )), Row( children: [ Expanded(child: Text("Auto")), Expanded(child: TextField()), Expanded(child: Center(child: Text("="))), Expanded(child: Center(child: Text(""))), Expanded(child: Center(child: Text("%"))), ], ), Row( children: [ Expanded(child: Text("zu Fuss")), Expanded(child: TextField()), Expanded(child: Center(child: Text("="))), Expanded(child: Center(child: Text(""))), Expanded(child: Center(child: Text("%"))), ], ), Row( children: [ Expanded(child: Text("Rad")), Expanded(child: TextField()), Expanded(child: Center(child: Text("="))), Expanded(child: Center(child: Text(""))), Expanded(child: Center(child: Text("%"))), ], ), const SizedBox(height: 20,), Row( children: [ Expanded(flex: 1,child: Text("Gesamt:"),), Expanded(flex: 3,child: Align(alignment: Alignment.bottomLeft, child: Text("data"),),) ], ), const SizedBox(height: 20,), Align( alignment: Alignment.bottomLeft, child: Text("Spurbedingungen (km)", style: TextStyle(fontSize: 16, decoration: TextDecoration.underline), ), ), Row( children: [ Expanded(child: Text("Gut")), Expanded(child: TextField()), Expanded(child: Center(child: Text("="))), Expanded(child: Center(child: Text(""))), Expanded(child: Center(child: Text("%"))), ], ), Row( children: [ Expanded(child: Text("Mittel")), Expanded(child: TextField()), Expanded(child: Center(child: Text("="))), Expanded(child: Center(child: Text(""))), Expanded(child: Center(child: Text("%"))), ], ), Row( children: [ Expanded(child: Text("Schlecht")), Expanded(child: TextField()), Expanded(child: Center(child: Text("="))), Expanded(child: Center(child: Text(""))), Expanded(child: Center(child: Text("%"))), ], ), ], ); } }