Rating implemented, no text input currently...I said dont do it Wladimir, dont do it...
46 lines
1.2 KiB
Dart
46 lines
1.2 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_rating_bar/flutter_rating_bar.dart';
|
|
import 'package:mensaapp/modules/ratingEmote.dart';
|
|
import 'package:mensaapp/modules/ratingStars.dart';
|
|
|
|
class PageSpezielleErnaehrung extends StatelessWidget {
|
|
const PageSpezielleErnaehrung({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Center(
|
|
child: Container(
|
|
width: 800,
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
children: [
|
|
const SizedBox(
|
|
height: 50,
|
|
),
|
|
Row(
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
children: [
|
|
const Text(
|
|
"Sitzmöglichkeit*",
|
|
style: TextStyle(fontSize: 35),
|
|
),
|
|
RatingStars(onRate: () {})
|
|
],
|
|
),
|
|
Row(
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
children: [
|
|
const Text(
|
|
"Keine Ahnung*",
|
|
style: TextStyle(fontSize: 35),
|
|
),
|
|
RatingStars(onRate: () {})
|
|
],
|
|
)
|
|
],
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|