feito o cadastro do cidadão
This commit is contained in:
@@ -6,10 +6,12 @@ import 'package:rkm/utils/const_variable.dart';
|
||||
import 'package:rkm/widgets/alert_dialog_default.dart';
|
||||
import 'package:rkm/widgets/button_default.dart';
|
||||
import 'package:rkm/widgets/title_containers.dart';
|
||||
import '../../widgets/appbar_default.dart';
|
||||
import '../../widgets/check_box_two_subtitle.dart';
|
||||
import '../../widgets/dropdown_with_subtitle.dart';
|
||||
import '../../widgets/input_with_subtitle.dart';
|
||||
import '../../widgets/onbackbutton.dart';
|
||||
import '../../widgets/subtitle_appbar_citizen.dart';
|
||||
import '../../widgets/switch_with_subtitle.dart';
|
||||
import '../../widgets/text_default.dart';
|
||||
class RegisterIndividualScreen extends StatefulWidget {
|
||||
@@ -145,12 +147,14 @@ class _RegisterIndividualScreenState extends State<RegisterIndividualScreen> {
|
||||
return WillPopScope(
|
||||
onWillPop: ()=> OnBackButton().onBackButton(context),
|
||||
child: Scaffold(
|
||||
appBar: AppBarDefault().appbar(context, 'RKM AB - Cadastro Individual'),
|
||||
body: Container(
|
||||
height: double.infinity,
|
||||
width: double.infinity,
|
||||
decoration: ConstVariable().backgroundGradient,
|
||||
child: ListView(
|
||||
children: [
|
||||
SubtitleAppbarCitizen(title: 2,edit: true),
|
||||
Card(
|
||||
margin: EdgeInsets.all(10),
|
||||
child: Padding(
|
||||
@@ -255,6 +259,7 @@ class _RegisterIndividualScreenState extends State<RegisterIndividualScreen> {
|
||||
widthSubtitle: width*0.2,
|
||||
hintInput: 'Escreva aqui',
|
||||
enable: enableSpouse,
|
||||
onChanged: (v)=>setState((){}),
|
||||
),
|
||||
DropdownWithSubtitle(
|
||||
list: [],
|
||||
@@ -279,6 +284,7 @@ class _RegisterIndividualScreenState extends State<RegisterIndividualScreen> {
|
||||
widthSubtitle: width*0.2,
|
||||
hintInput: 'Escreva aqui',
|
||||
enable: enableSpouse,
|
||||
onChanged: (v)=>setState((){}),
|
||||
),
|
||||
InputWithSubtitle(
|
||||
controller: enterBrazilController,
|
||||
@@ -289,6 +295,7 @@ class _RegisterIndividualScreenState extends State<RegisterIndividualScreen> {
|
||||
widthSubtitle: width*0.2,
|
||||
hintInput: 'Escreva aqui',
|
||||
enable: enableSpouse,
|
||||
onChanged: (v)=>setState((){}),
|
||||
),
|
||||
InputWithSubtitle(
|
||||
controller: dateNaturalnessController,
|
||||
@@ -299,6 +306,7 @@ class _RegisterIndividualScreenState extends State<RegisterIndividualScreen> {
|
||||
widthSubtitle: width*0.2,
|
||||
hintInput: 'Escreva aqui',
|
||||
enable: enableSpouse,
|
||||
onChanged: (v)=>setState((){}),
|
||||
),
|
||||
InputWithSubtitle(
|
||||
controller: porterNaturalnessController,
|
||||
@@ -309,6 +317,7 @@ class _RegisterIndividualScreenState extends State<RegisterIndividualScreen> {
|
||||
widthSubtitle: width*0.2,
|
||||
hintInput: 'Escreva aqui',
|
||||
enable: enableSpouse,
|
||||
onChanged: (v)=>setState((){}),
|
||||
),
|
||||
DropdownWithSubtitle(
|
||||
list:['SUPERIOR, APERFEIÇAOMENTO,ESPECIAL'],
|
||||
@@ -440,6 +449,7 @@ class _RegisterIndividualScreenState extends State<RegisterIndividualScreen> {
|
||||
widthSubtitle: width*0.2,
|
||||
hintInput: 'Escreva aqui',
|
||||
enable: enableSpouse,
|
||||
onChanged: (v)=>setState((){}),
|
||||
),
|
||||
DropdownWithSubtitle(
|
||||
list: ['NÃO DESEJA INFORMAR'],
|
||||
@@ -560,6 +570,7 @@ class _RegisterIndividualScreenState extends State<RegisterIndividualScreen> {
|
||||
widthSubtitle: width*0.2,
|
||||
hintInput: 'Escreva aqui',
|
||||
enable: enableSpouse,
|
||||
onChanged: (v)=>setState((){}),
|
||||
),
|
||||
SwitchWithSubtitle(
|
||||
width: width*0.7,
|
||||
@@ -621,6 +632,7 @@ class _RegisterIndividualScreenState extends State<RegisterIndividualScreen> {
|
||||
widthSubtitle: width*0.7,
|
||||
hintInput: 'Escreva aqui',
|
||||
enable: false,
|
||||
onChanged: (v)=>setState((){}),
|
||||
),
|
||||
DropdownWithSubtitle(
|
||||
list: [],
|
||||
@@ -789,6 +801,7 @@ class _RegisterIndividualScreenState extends State<RegisterIndividualScreen> {
|
||||
widthSubtitle: width*0.7,
|
||||
hintInput: 'Escreva aqui',
|
||||
enable: false,
|
||||
onChanged: (v)=>setState((){}),
|
||||
),
|
||||
DropdownWithSubtitle(
|
||||
subtitle: 'Doença Cardíaca',
|
||||
@@ -899,6 +912,7 @@ class _RegisterIndividualScreenState extends State<RegisterIndividualScreen> {
|
||||
widthSubtitle: width*0.7,
|
||||
hintInput: 'Escreva aqui',
|
||||
enable: false,
|
||||
onChanged: (v)=>setState((){}),
|
||||
),
|
||||
InputWithSubtitle(
|
||||
controller: otherCondicionsController,
|
||||
@@ -909,6 +923,7 @@ class _RegisterIndividualScreenState extends State<RegisterIndividualScreen> {
|
||||
widthSubtitle: width*0.7,
|
||||
hintInput: 'Escreva aqui',
|
||||
enable: false,
|
||||
onChanged: (v)=>setState((){}),
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -974,6 +989,7 @@ class _RegisterIndividualScreenState extends State<RegisterIndividualScreen> {
|
||||
widthSubtitle: width*0.7,
|
||||
hintInput: 'Escreva aqui',
|
||||
enable: false,
|
||||
onChanged: (v)=>setState((){}),
|
||||
),
|
||||
SwitchWithSubtitle(
|
||||
width: width*0.7,
|
||||
@@ -1023,6 +1039,7 @@ class _RegisterIndividualScreenState extends State<RegisterIndividualScreen> {
|
||||
widthSubtitle: width*0.7,
|
||||
hintInput: 'Escreva aqui',
|
||||
enable: false,
|
||||
onChanged: (v)=>setState((){}),
|
||||
),
|
||||
DropdownWithSubtitle(
|
||||
subtitle: 'Alimentação Diária',
|
||||
@@ -1132,6 +1149,7 @@ class _RegisterIndividualScreenState extends State<RegisterIndividualScreen> {
|
||||
widthInput: width*0.7,
|
||||
widthSubtitle: width*0.7,
|
||||
hintInput: 'Escreva aqui',
|
||||
onChanged: (v)=>setState((){}),
|
||||
),
|
||||
InputWithSubtitle(
|
||||
controller: unitProfessionalController,
|
||||
@@ -1141,6 +1159,7 @@ class _RegisterIndividualScreenState extends State<RegisterIndividualScreen> {
|
||||
widthInput: width*0.7,
|
||||
widthSubtitle: width*0.7,
|
||||
hintInput: 'Escreva aqui',
|
||||
onChanged: (v)=>setState((){}),
|
||||
),
|
||||
DropdownWithSubtitle(
|
||||
subtitle: 'CBO',
|
||||
@@ -1179,6 +1198,7 @@ class _RegisterIndividualScreenState extends State<RegisterIndividualScreen> {
|
||||
widthSubtitle: width*0.7,
|
||||
hintInput: 'Escreva aqui',
|
||||
enable: false,
|
||||
onChanged: (v)=>setState((){}),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user