feito o cadastro do cidadão
This commit is contained in:
@@ -9,6 +9,7 @@ class InputSearchText extends StatelessWidget {
|
||||
double width;
|
||||
Color color;
|
||||
bool border;
|
||||
var onChanged;
|
||||
|
||||
InputSearchText({
|
||||
required this.controller,
|
||||
@@ -17,6 +18,7 @@ class InputSearchText extends StatelessWidget {
|
||||
this.hint = '',
|
||||
this.color = ColorPalette.white,
|
||||
this.border = true,
|
||||
this.onChanged = null
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -26,9 +28,10 @@ class InputSearchText extends StatelessWidget {
|
||||
margin: ConstVariable().marginHightInput,
|
||||
width: width,
|
||||
child: TextFormField(
|
||||
onChanged: onChanged,
|
||||
controller: this.controller,
|
||||
style: TextStyle(
|
||||
color: ColorPalette.gray,
|
||||
color: Colors.black,
|
||||
fontSize: this.fontSize,
|
||||
),
|
||||
decoration: InputDecoration(
|
||||
@@ -37,7 +40,7 @@ class InputSearchText extends StatelessWidget {
|
||||
border: border?OutlineInputBorder():null,
|
||||
hintText: this.hint,
|
||||
hintStyle: TextStyle(
|
||||
color: ColorPalette.gray,
|
||||
color: Colors.black,
|
||||
fontSize: this.fontSize,
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user