feito o cadastro do cidadão

This commit is contained in:
Reginaldo
2023-04-13 22:54:17 -03:00
parent cdee8fcc44
commit 632cdbfeef
34 changed files with 2076 additions and 1108 deletions

View File

@@ -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,
)
)