Sei sulla pagina 1di 4

import 'package:flutter/material.

dart';
import 'package:loan/custom/customBankingFacilitiesForm.dart';
import 'package:loan/custom/customButton.dart';
import 'package:loan/custom/customFormTextField.dart';
import 'package:loan/custom/customRichText.dart';
import 'package:loan/custom/customSlider.dart';
import 'package:loan/screens/forms/18.dart';

class Seventeen extends StatefulWidget {


@override
_SeventeenState createState() => _SeventeenState();
}

class _SeventeenState extends State<Seventeen> {


double _sliderValue = 150000;
@override
Widget build(BuildContext context) {
final double height = MediaQuery.of(context).size.height;
return SafeArea(
child: Scaffold(
backgroundColor: Colors.white,
body: SingleChildScrollView(
child: Column(
children: <Widget>[
Container(
height: height*0.177,
child: CustomSlider(
_sliderValue,
(val) {
setState(() {
_sliderValue = val;
});
},
),
),
RIchText(
titleText: "PROVIDE \n",
subTitleText: "THE BANKING FACILITIES",
),
SizedBox(height: 20.0),
new Text(
"Banking/Credit Facilities \n(Existing) (INR in lakhs)",
style: TextStyle(
fontFamily: "Segoe UI",
fontWeight: FontWeight.w600,
fontSize: 20,
color: Color(0xffa5a3a3),
),
),
SizedBox(
height: 20.0,
),
new Text(
"Facilities",
style: TextStyle(
fontFamily: "Segoe UI",
fontWeight: FontWeight.w600,
fontSize: 20,
color: Color(0xffa5a3a3),
),
),
SizedBox(
height: 20.0,
),
new Text(
"Current Account",
style: TextStyle(
fontFamily: "Segoe UI",
fontWeight: FontWeight.w600,
fontSize: 20,
color: Color(0xffa5a3a3),
),
),
SizedBox(
height: 20.0,
),
CustomBankingFacilitesForm(),
SizedBox(
height: 20.0,
),
new Text(
"Cash Credit",
style: TextStyle(
fontFamily: "Segoe UI",
fontWeight: FontWeight.w600,
fontSize: 20,
color: Color(0xffa5a3a3),
),
),
SizedBox(
height: 20.0,
),
CustomBankingFacilitesForm(),
SizedBox(
height: 20.0,
),
new Text(
"Term Loan",
style: TextStyle(
fontFamily: "Segoe UI",
fontWeight: FontWeight.w600,
fontSize: 20,
color: Color(0xffa5a3a3),
),
),
SizedBox(
height: 20.0,
),
CustomBankingFacilitesForm(),
SizedBox(
height: 20.0,
),
new Text(
"LC/BG",
style: TextStyle(
fontFamily: "Segoe UI",
fontWeight: FontWeight.w600,
fontSize: 20,
color: Color(0xffa5a3a3),
),
),
SizedBox(
height: 20.0,
),
CustomBankingFacilitesForm(),
SizedBox(
height: 20.0,
),
new Text(
"Others",
style: TextStyle(
fontFamily: "Segoe UI",
fontWeight: FontWeight.w600,
fontSize: 20,
color: Color(0xffa5a3a3),
),
),
SizedBox(
height: 20.0,
),
CustomBankingFacilitesForm(),
SizedBox(
height: 20.0,
),
new Text(
"Total",
style: TextStyle(
fontFamily: "Segoe UI",
fontWeight: FontWeight.w600,
fontSize: 20,
color: Color(0xffa5a3a3),
),
),
SizedBox(
height: 20.0,
),
CustomBankingFacilitesForm(),
SizedBox(
height: 20.0,
),
new Text(
"If banking with our Bank,\ncustomer ID be given here",
style: TextStyle(
fontFamily: "Segoe UI",
fontWeight: FontWeight.w600,
fontSize: 16,
color: Color(0xffa5a3a3),
),
),
SizedBox(
height: 20.0,
),
CustomFormTextField(
maxlines: 5,
height: 150.0,
),
SizedBox(
height: 20.0,
),
new Text(
"It is certified that our unit has\nnot availed any loan from
any\nother Bank / Financial\nInstitution in the past and I am\nnot indebted to any
other Bank\nFinancial Institution other\nthan those mentioned above.",
style: TextStyle(
fontFamily: "Segoe UI",
fontWeight: FontWeight.w600,
fontSize: 16,
color: Color(0xffa5a3a3),
),
),
SizedBox(
height: 20.0,
),
CustomFormTextField(
maxlines: 5,
height: 150.0,
),
SizedBox(
height: 20.0,
),
CustomButton(
onPress: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => Eighteen(),
),
);
},
text: "NEXT",
textStyle: TextStyle(
fontFamily: "Segoe UI",
fontWeight: FontWeight.w700,
fontSize: 12,
color: Color(0xffffffff),
),
),
SizedBox(
height: 20.0,
),
],
),
),
),
);
}
}

Potrebbero piacerti anche