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