CreateGroupView erstellt #28

Merged
flixcoo merged 37 commits from feature/5-creategroupview-erstellen into development 2025-11-19 17:32:44 +00:00
Showing only changes of commit 47bb090e72 - Show all commits

View File

@@ -6,6 +6,7 @@ class FullWidthButton extends StatelessWidget {
required this.text, required this.text,
required this.borderColor, required this.borderColor,
required this.infillColor, required this.infillColor,
this.disabledInfillColor,
required this.sizeRelativeToWidth, required this.sizeRelativeToWidth,
required this.onPressed, required this.onPressed,
}); });
@@ -13,6 +14,7 @@ class FullWidthButton extends StatelessWidget {
final String text; final String text;
final Color borderColor; final Color borderColor;
final Color infillColor; final Color infillColor;
final Color? disabledInfillColor;
final double sizeRelativeToWidth; final double sizeRelativeToWidth;
final VoidCallback? onPressed; final VoidCallback? onPressed;
@@ -21,6 +23,7 @@ class FullWidthButton extends StatelessWidget {
return ElevatedButton( return ElevatedButton(
onPressed: onPressed, onPressed: onPressed,
style: ElevatedButton.styleFrom( style: ElevatedButton.styleFrom(
disabledBackgroundColor: disabledInfillColor,
minimumSize: Size( minimumSize: Size(
MediaQuery.sizeOf(context).width * sizeRelativeToWidth, MediaQuery.sizeOf(context).width * sizeRelativeToWidth,
60, 60,