MVP #141

Merged
flixcoo merged 705 commits from development into main 2026-01-09 12:55:50 +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.borderColor,
required this.infillColor,
this.disabledInfillColor,
required this.sizeRelativeToWidth,
required this.onPressed,
});
@@ -13,6 +14,7 @@ class FullWidthButton extends StatelessWidget {
final String text;
final Color borderColor;
final Color infillColor;
final Color? disabledInfillColor;
final double sizeRelativeToWidth;
final VoidCallback? onPressed;
@@ -21,6 +23,7 @@ class FullWidthButton extends StatelessWidget {
return ElevatedButton(
onPressed: onPressed,
style: ElevatedButton.styleFrom(
disabledBackgroundColor: disabledInfillColor,
minimumSize: Size(
MediaQuery.sizeOf(context).width * sizeRelativeToWidth,
60,