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

@@ -7,18 +7,22 @@ class InputSearchText extends StatelessWidget {
double fontSize;
String hint;
double width;
Color color;
bool border;
InputSearchText({
required this.controller,
required this.width,
this.fontSize = 15.0,
this.hint = '',
this.color = ColorPalette.white,
this.border = true
});
@override
Widget build(BuildContext context) {
return Container(
color: ColorPalette.white,
color: color,
margin: ConstVariable().marginHightInput,
width: width,
child: TextFormField(
@@ -30,7 +34,7 @@ class InputSearchText extends StatelessWidget {
decoration: InputDecoration(
fillColor: ColorPalette.appBar,
prefixIcon: Icon(Icons.search),
border: OutlineInputBorder(),
border: border?OutlineInputBorder():null,
hintText: this.hint,
hintStyle: TextStyle(
color: ColorPalette.gray,