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