Fakultas Ilmu Komputer UI

Commit 116833ce authored by wibias fuad's avatar wibias fuad
Browse files

pull from section 5 data pendukung

parents 8855d06b 3425e89c
Pipeline #83973 passed with stages
in 13 minutes and 6 seconds
......@@ -253,6 +253,12 @@
"packageUri": "lib/",
"languageVersion": "2.1"
},
{
"name": "flutter_spinkit",
"rootUri": "file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_spinkit-4.1.2+1",
"packageUri": "lib/",
"languageVersion": "2.5"
},
{
"name": "flutter_svg",
"rootUri": "file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.19.3",
......@@ -704,7 +710,7 @@
"languageVersion": "2.7"
}
],
"generated": "2021-06-26T16:19:07.129588Z",
"generated": "2021-06-28T05:55:21.898516Z",
"generator": "pub",
"generatorVersion": "2.12.2"
}
......@@ -162,6 +162,10 @@ flutter_secure_storage
2.1
file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage-3.3.5/
file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage-3.3.5/lib/
flutter_spinkit
2.5
file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_spinkit-4.1.2+1/
file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_spinkit-4.1.2+1/lib/
flutter_svg
2.2
file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.19.3/
......
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_keyboard_visibility","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_keyboard_visibility-5.0.0\\\\","dependencies":[]},{"name":"flutter_secure_storage","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage-3.3.5\\\\","dependencies":[]},{"name":"image_picker","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\image_picker-0.7.4\\\\","dependencies":[]},{"name":"path_provider","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider-2.0.1\\\\","dependencies":[]}],"android":[{"name":"flutter_keyboard_visibility","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_keyboard_visibility-5.0.0\\\\","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_plugin_android_lifecycle-2.0.1\\\\","dependencies":[]},{"name":"flutter_secure_storage","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage-3.3.5\\\\","dependencies":[]},{"name":"image_picker","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\image_picker-0.7.4\\\\","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"path_provider","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider-2.0.1\\\\","dependencies":[]}],"macos":[{"name":"path_provider_macos","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_macos-2.0.0\\\\","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_linux-2.0.0\\\\","dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_windows-2.0.0\\\\","dependencies":[]}],"web":[{"name":"flutter_keyboard_visibility_web","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_keyboard_visibility_web-2.0.0\\\\","dependencies":[]},{"name":"image_picker_for_web","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\image_picker_for_web-2.0.0\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"flutter_keyboard_visibility","dependencies":["flutter_keyboard_visibility_web"]},{"name":"flutter_keyboard_visibility_web","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"flutter_secure_storage","dependencies":[]},{"name":"image_picker","dependencies":["flutter_plugin_android_lifecycle","image_picker_for_web"]},{"name":"image_picker_for_web","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_macos","path_provider_linux","path_provider_windows"]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2021-06-26 23:34:30.497602","version":"2.0.3"}
\ No newline at end of file
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_keyboard_visibility","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_keyboard_visibility-5.0.0\\\\","dependencies":[]},{"name":"flutter_secure_storage","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage-3.3.5\\\\","dependencies":[]},{"name":"image_picker","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\image_picker-0.7.4\\\\","dependencies":[]},{"name":"path_provider","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider-2.0.1\\\\","dependencies":[]}],"android":[{"name":"flutter_keyboard_visibility","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_keyboard_visibility-5.0.0\\\\","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_plugin_android_lifecycle-2.0.1\\\\","dependencies":[]},{"name":"flutter_secure_storage","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage-3.3.5\\\\","dependencies":[]},{"name":"image_picker","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\image_picker-0.7.4\\\\","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"path_provider","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider-2.0.1\\\\","dependencies":[]}],"macos":[{"name":"path_provider_macos","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_macos-2.0.0\\\\","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_linux-2.0.0\\\\","dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_windows-2.0.0\\\\","dependencies":[]}],"web":[{"name":"flutter_keyboard_visibility_web","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_keyboard_visibility_web-2.0.0\\\\","dependencies":[]},{"name":"image_picker_for_web","path":"C:\\\\flutter\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\image_picker_for_web-2.0.0\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"flutter_keyboard_visibility","dependencies":["flutter_keyboard_visibility_web"]},{"name":"flutter_keyboard_visibility_web","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"flutter_secure_storage","dependencies":[]},{"name":"image_picker","dependencies":["flutter_plugin_android_lifecycle","image_picker_for_web"]},{"name":"image_picker_for_web","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_macos","path_provider_linux","path_provider_windows"]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2021-06-28 14:36:16.584497","version":"2.0.3"}
\ No newline at end of file
......@@ -3,7 +3,7 @@
#
# For more info see: https://dart.dev/go/dot-packages-deprecation
#
# Generated by pub on 2021-06-26 23:19:07.087583.
# Generated by pub on 2021-06-28 12:55:21.851530.
_fe_analyzer_shared:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/_fe_analyzer_shared-14.0.0/lib/
analyzer:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/analyzer-0.41.2/lib/
args:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/args-2.0.0/lib/
......@@ -46,6 +46,7 @@ flutter_keyboard_visibility_web:file:///C:/flutter/flutter/.pub-cache/hosted/pub
flutter_multi_carousel:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_multi_carousel-1.0.3/lib/
flutter_plugin_android_lifecycle:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_plugin_android_lifecycle-2.0.1/lib/
flutter_secure_storage:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_secure_storage-3.3.5/lib/
flutter_spinkit:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_spinkit-4.1.2+1/lib/
flutter_svg:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.19.3/lib/
flutter_test:file:///C:/flutter/flutter/packages/flutter_test/lib/
flutter_typeahead:file:///C:/flutter/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_typeahead-3.1.1/lib/
......
This diff is collapsed.
import 'package:flutter/material.dart';
import 'package:flutter_spinkit/flutter_spinkit.dart';
class Loading extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
color: Colors.white,
child: Center(
child: SpinKitCircle(
color: Color.fromRGBO(18, 40, 75, 1),
size: 100.0,
duration: const Duration(milliseconds: 700),
),
),
);
}
}
import 'package:flutter/material.dart';
import 'package:fundex_app/pages/profile/all_agreement.dart';
import 'package:fundex_app/pages/register/register.dart';
void main() {
runApp(MaterialApp(home: AllAgreement()));
runApp(MaterialApp(home: RegisterPage()));
}
class MyApp extends StatelessWidget {
......
class EquityBanners {
List<Map<String, String>> bannerList;
EquityBanners({this.bannerList});
factory EquityBanners.fromJson(Map<String, String> jsonData) {
var list = jsonData['offering_banners'] as List;
List<Map<String, String>> bannerList = list;
return EquityBanners(bannerList: bannerList);
}
List<Map<String, String>> getBannerList() {
return this.bannerList;
}
}
import 'package:flutter/cupertino.dart';
import 'package:intl/intl.dart';
import 'package:time_formatter/time_formatter.dart';
......@@ -103,4 +104,20 @@ class Ukm {
String get beautifyTime {
return formatTime(remainingTime);
}
ImageProvider<Object> get ukmBanner {
if (this.bannerImg == "") {
return AssetImage('assets/images/equityWithNoImage.jpg');
} else {
return NetworkImage(this.bannerImg);
}
}
Widget ukmLogo(String logoUrl) {
try {
return Image.network(this.logoUrl);
} catch (e) {
return Image.asset('assets/images/tidak-ada-perjanjian.png');
}
}
}
This diff is collapsed.
......@@ -2,6 +2,7 @@ import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:fundex_app/api/api.dart';
import 'package:fundex_app/assets/loading.dart';
import 'package:fundex_app/pages/business/cardsListOnHome.dart';
import 'package:fundex_app/pages/business/prospectus_page.dart';
import 'package:google_fonts/google_fonts.dart';
......@@ -19,14 +20,20 @@ class HomeKYC extends StatefulWidget {
class _HomeKYCState extends State<HomeKYC> {
Future<EquityOfferings> futureEquities;
bool alreadyRegistered = false;
bool userChecked = false;
bool lihatSemuaIsClicked = false;
List<Ukm> ukmList = [];
void initState() {
super.initState();
futureEquities = Api().getEquities();
checkUser();
}
Widget buildUkmCarousel(BuildContext context,
AsyncSnapshot<EquityOfferings> snapshot, int index) {
List<Ukm> ukmList = snapshot.data.getUkmList();
ukmList = snapshot.data.getUkmList();
return new Container(
alignment: Alignment.center,
margin: EdgeInsets.fromLTRB(0.0, 24.0, 0.0, 0.0),
......@@ -54,10 +61,21 @@ class _HomeKYCState extends State<HomeKYC> {
ProspectusPage((ukmList[index].id).toString())));
},
child: Container(
margin: EdgeInsets.fromLTRB(0.0, 16.0, 0.0, 16.0),
decoration: BoxDecoration(
boxShadow: [
BoxShadow(
color: Colors.grey.withOpacity(0.5),
spreadRadius: 0,
blurRadius: 8,
offset: Offset(0, 0), // changes position of shadow
),
],
),
child: Column(
children: [
Expanded(
flex: 7,
flex: 8,
child: Container(
key: Key('containerForWholeCarousel'),
decoration: BoxDecoration(
......@@ -66,7 +84,7 @@ class _HomeKYCState extends State<HomeKYC> {
topRight: Radius.circular(8.0),
),
image: DecorationImage(
image: NetworkImage(ukmList[index].bannerImg),
image: ukmList[index].ukmBanner,
fit: BoxFit.cover,
),
),
......@@ -83,15 +101,6 @@ class _HomeKYCState extends State<HomeKYC> {
bottomLeft: Radius.circular(8.0),
bottomRight: Radius.circular(8.0),
),
boxShadow: [
BoxShadow(
color: Colors.grey.withOpacity(0.5),
spreadRadius: 0,
blurRadius: 8,
offset:
Offset(0, 0), // changes position of shadow
),
],
),
alignment: Alignment.center,
child: Column(
......@@ -106,10 +115,8 @@ class _HomeKYCState extends State<HomeKYC> {
flex: 2,
child: Container(
margin: EdgeInsets.fromLTRB(8, 0, 8, 0),
child: Image.network(
ukmList[index].logoUrl,
key: Key('ukmLogo'),
),
child: ukmList[index]
.ukmLogo(ukmList[index].logoUrl),
),
),
Expanded(
......@@ -368,84 +375,122 @@ class _HomeKYCState extends State<HomeKYC> {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
resizeToAvoidBottomInset: false,
appBar: AppBar(
backgroundColor: Colors.white,
title: Image.asset(
'assets/images/fundex.png',
key: Key('logoFundex'),
),
),
body: SafeArea(
child: SingleChildScrollView(
child: Column(
key: Key('wholePageColumn'),
crossAxisAlignment: CrossAxisAlignment.start,
children: [
registeredUser(context),
Container(
alignment: Alignment.center,
key: Key('containerPenawaranAndLihatSemua'),
margin: EdgeInsets.fromLTRB(24.0, 0.0, 24.0, 0.0),
child: Row(
key: Key('rowPenawaranAndLihatSemua'),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[
Text(
'Penawaran',
key: Key('stringPenawaran'),
style: GoogleFonts.inter(
color: Color.fromRGBO(0, 0, 0, 1.0),
fontSize: 16.0,
),
),
RichText(
key: Key('stringLihatSemua'),
text: TextSpan(
text: 'Lihat Semua >>',
return userChecked == false || lihatSemuaIsClicked == true
? Loading()
: Scaffold(
backgroundColor: Colors.white,
resizeToAvoidBottomInset: false,
appBar: AppBar(
backgroundColor: Colors.white,
title: Image.asset(
'assets/images/fundex.png',
key: Key('logoFundex'),
),
),
body: SafeArea(
child: SingleChildScrollView(
child: Column(
key: Key('wholePageColumn'),
crossAxisAlignment: CrossAxisAlignment.start,
children: [
getCard(),
Container(
alignment: Alignment.center,
key: Key('containerPenawaranAndLihatSemua'),
margin: EdgeInsets.fromLTRB(24.0, 0.0, 24.0, 0.0),
child: Row(
key: Key('rowPenawaranAndLihatSemua'),
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: <Widget>[
Text(
'Penawaran',
key: Key('stringPenawaran'),
style: GoogleFonts.inter(
color: Color.fromRGBO(189, 189, 189, 1.0),
fontSize: 12.0,
color: Color.fromRGBO(0, 0, 0, 1.0),
fontSize: 16.0,
),
recognizer: TapGestureRecognizer()
..onTap = () {
Navigator.push(context,
MaterialPageRoute(builder: (context) {
return MaterialApp(home: ExploreBusiness());
}));
})),
]),
),
Container(
alignment: Alignment.center,
margin: EdgeInsets.fromLTRB(0.0, 24.0, 0.0, 0.0),
child: FutureBuilder<EquityOfferings>(
future: futureEquities,
builder: (context, snapshot) {
if (snapshot.hasData) {
return buildUkmCarousel(context, snapshot,
snapshot.data.getUkmList().length);
),
RichText(
key: Key('stringLihatSemua'),
text: TextSpan(
text: 'Lihat Semua >>',
style: GoogleFonts.inter(
color: Color.fromRGBO(189, 189, 189, 1.0),
fontSize: 12.0,
),
recognizer: TapGestureRecognizer()
..onTap = () {
setState(() {
lihatSemuaIsClicked = true;
});
Navigator.push(context,
MaterialPageRoute(
builder: (context) {
return MaterialApp(
home: ExploreBusiness());
}));
})),
]),
),
Container(
alignment: Alignment.center,
margin: EdgeInsets.fromLTRB(0.0, 24.0, 0.0, 0.0),
child: FutureBuilder<EquityOfferings>(
future: futureEquities,
builder: (context, snapshot) {
if (snapshot.hasData) {
return buildUkmCarousel(context, snapshot,
snapshot.data.getUkmList().length);
// SingleChildScrollView(
// scrollDirection: Axis.vertical,
// child: buildUkmCard(context, snapshot));
} else if (snapshot.hasError) {
print('${snapshot.error}');
return Container(child: Text('${snapshot.error}'));
} else {
return Container(
width: 0,
height: 0,
);
}
}),
// SingleChildScrollView(
// scrollDirection: Axis.vertical,
// child: buildUkmCard(context, snapshot));
} else if (snapshot.hasError) {
print('${snapshot.error}');
return Container(
child: Text('${snapshot.error}'));
} else {
return Container(
width: 0,
height: 0,
);
}
}),
),
],
),
),
],
),
),
),
);
),
);
}
Future checkUser() async {
final List<dynamic> getMemberAttribute = await Api().getMemberAttribute();
for (var i = 0; i < getMemberAttribute.length; i++) {
if (getMemberAttribute[i]['attribute_name'] == 'kyc_progress') {
var map = (getMemberAttribute[i] as Map<String, dynamic>);
var val = (map)['attribute_value'];
var str = val.substring(1, val.length - 1);
var lastStep = str.split(",")[4];
var value = lastStep.substring(8);
if (value == "true") {
setState(() {
alreadyRegistered = true;
});
}
}
}
setState(() {
userChecked = true;
});
}
Widget getCard() {
if (alreadyRegistered == true) {
return registeredUser(context);
} else {
return unregisteredUser(context);
}
}
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -2,8 +2,11 @@ import 'package:flutter/material.dart';
import 'package:fundex_app/api/api.dart';
import 'package:fundex_app/assets/colors.dart';
import 'package:flutter_typeahead/flutter_typeahead.dart';
import 'package:fundex_app/pages/business/homekycUnregsitered.dart';
import 'package:fundex_app/pages/business/homekyc.dart';
import 'package:fundex_app/pages/kyc/alamat_body.dart';
import 'package:fundex_app/pages/kyc/biodata_keluarga_body.dart';
import 'package:fundex_app/pages/kyc/biodata_pendukung.dart';
import 'package:fundex_app/pages/kyc/data_identitas.dart';
import 'package:fundex_app/pages/kyc/design.dart';
import 'package:intl/intl.dart';
......@@ -88,6 +91,11 @@ class _BiodataBodyState extends State<BiodataBody> {
bool alreadyFilledSection = false;
DateTime date;
String strDate;
var valStep1;
var valStep2;
var valStep3;
var valStep4;
var valStep5;
double opacityRadio = 0;
void initState() {
......@@ -143,9 +151,18 @@ class _BiodataBodyState extends State<BiodataBody> {
idKYC = map['id'];
var val = (map)['attribute_value'];
var str = val.substring(1, val.length - 1);
var step3 = str.split(",")[2];
var step1 = str.split(",")[0];
var value = step1.substring(8);
if (value == "true") {
var step2 = str.split(",")[1];
var step4 = str.split(",")[3];
var step5 = str.split(",")[4];
valStep3 = step3.substring(8);
valStep1 = step1.substring(8);
valStep2 = step2.substring(8);
valStep4 = step4.substring(8);
valStep5 = step5.substring(8);
print("step 5 = " +valStep5);
if (valStep1 == "true") {
setState(() {
alreadyFilledSection = true;
});
......@@ -160,6 +177,7 @@ class _BiodataBodyState extends State<BiodataBody> {
phone = json['phone'];
city = jsonCity;
setState(() {
this.id = id;
this.email = email;
......@@ -231,7 +249,7 @@ class _BiodataBodyState extends State<BiodataBody> {
),
onPressed: () {
Navigator.push(context, MaterialPageRoute(builder: (context) {
return HomeKYCUnregistered();
return HomeKYC();
}));
},
),
......@@ -287,6 +305,7 @@ class _BiodataBodyState extends State<BiodataBody> {
),
//buletan
valStep2 == "false" ?
Container(
height: 24,
width: 24,
......@@ -299,7 +318,26 @@ class _BiodataBodyState extends State<BiodataBody> {
borderRadius:
BorderRadius.circular(100),
),
),
)
: Container(
height: 24,
width: 24,
decoration: BoxDecoration(
color: primary,
borderRadius:
BorderRadius.circular(100)),
child: IconButton(
padding: EdgeInsets.all(0),
icon: Icon(Icons.check_outlined,
color: white,
size: 16),
onPressed: () {
Navigator.push(context, MaterialPageRoute(builder: (context) {
return AlamatBody();
}));
},
),
),
//garis
Container(
......@@ -309,6 +347,7 @@ class _BiodataBodyState extends State<BiodataBody> {
),
//buletan
valStep3 == "false" ?
Container(
height: 24,
width: 24,
......@@ -321,7 +360,26 @@ class _BiodataBodyState extends State<BiodataBody> {
borderRadius:
BorderRadius.circular(100),
),
),
)
: Container(
height: 24,
width: 24,
decoration: BoxDecoration(
color: primary,
borderRadius:
BorderRadius.circular(100)),
child: IconButton(
padding: EdgeInsets.all(0),
icon: Icon(Icons.check_outlined,
color: white,
size: 16),
onPressed: () {
Navigator.push(context, MaterialPageRoute(builder: (context) {
return BiodataKeluarga();
}));
},
),
),
//garis
Container(
......@@ -331,6 +389,7 @@ class _BiodataBodyState extends State<BiodataBody> {
),
//buletan
valStep4 == "false" ?
Container(
height: 24,
width: 24,
......@@ -343,7 +402,26 @@ class _BiodataBodyState extends State<BiodataBody> {
borderRadius:
BorderRadius.circular(100),
),
),
)
: Container(
height: 24,
width: 24,
decoration: BoxDecoration(
color: primary,
borderRadius:
BorderRadius.circular(100)),
child: IconButton(
padding: EdgeInsets.all(0),
icon: Icon(Icons.check_outlined,
color: white,
size: 16),
onPressed: () {
Navigator.push(context, MaterialPageRoute(builder: (context) {
return DataIdentitas();
}));
},
),
),
//garis
Container(
......@@ -353,6 +431,7 @@ class _BiodataBodyState extends State<BiodataBody> {