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

@@ -8,13 +8,15 @@ class TextDefault extends StatelessWidget {
Color color;
FontWeight fontWeigth;
TextAlign textAlign;
int maxLines;
TextDefault({
required this.text,
this.fontSize = 20.0,
this.color = ColorPalette.gray,
this.fontWeigth = FontWeight.normal,
this.textAlign = TextAlign.start
this.textAlign = TextAlign.start,
this.maxLines = 1
});
@override
@@ -22,10 +24,12 @@ class TextDefault extends StatelessWidget {
return Text(
text,
textAlign: textAlign,
maxLines: maxLines,
style: TextStyle(
fontSize: fontSize,
fontWeight: fontWeigth,
color: color,
overflow: TextOverflow.ellipsis,
),
);
}