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:
@@ -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),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user