criado os widgets dropdown_button_default.dart, subtitle_containers.dart, alert_dialog_default.dart e title_containers.dart.

e ajustada a tela main_procedures_screen.dart
This commit is contained in:
Reginaldo
2023-03-23 11:55:26 -03:00
parent c52b66a312
commit 316cf23022
13 changed files with 388 additions and 18 deletions

View File

@@ -6,6 +6,7 @@ class ButtonDefault extends StatelessWidget {
var onPressed;
String title;
Color background;
Color disableColor;
Color textColor;
Color borderColor;
double width;
@@ -17,6 +18,7 @@ class ButtonDefault extends StatelessWidget {
this.background = Colors.transparent,
this.textColor = ColorPalette.border,
this.borderColor = ColorPalette.border,
this.disableColor = ColorPalette.border,
this.width = 100,
this.height = 50,
});
@@ -31,6 +33,7 @@ class ButtonDefault extends StatelessWidget {
onPressed: onPressed,
style: TextButton.styleFrom(
backgroundColor: background,
disabledBackgroundColor: disableColor,
foregroundColor: textColor,
side: BorderSide(width: 3,color: borderColor),
),