fix: assets local history
This commit is contained in:
parent
b3a68b4436
commit
3c1f7e210a
BIN
assets/icons/icon-cake.png
Normal file
BIN
assets/icons/icon-cake.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
assets/icons/icon-create-plan.png
Normal file
BIN
assets/icons/icon-create-plan.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
assets/icons/icon-house.png
Normal file
BIN
assets/icons/icon-house.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/icons/icon-toga.png
Normal file
BIN
assets/icons/icon-toga.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
|
@ -1,4 +1,6 @@
|
||||||
import 'package:cims_apps/application/assets/path_assets.dart';
|
import 'package:cims_apps/application/assets/path_assets.dart';
|
||||||
|
import 'package:cims_apps/application/theme/color_palette.dart';
|
||||||
|
import 'package:cims_apps/core/utils/size_config.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
class GoalInvest {
|
class GoalInvest {
|
||||||
|
@ -20,27 +22,38 @@ class GoalInvestingView extends StatelessWidget {
|
||||||
GoalInvest(PathAssets.iconCreatePlan, 'Create Plan'),
|
GoalInvest(PathAssets.iconCreatePlan, 'Create Plan'),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return Column(
|
return Column(
|
||||||
children: [
|
children:
|
||||||
Row(
|
listGoalInvest.asMap().entries.map((e) {
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
return Padding(
|
||||||
children: [
|
padding: EdgeInsets.only(top: e.key != 0 ? 16 : 0),
|
||||||
Text('Your Goal in Investing'),
|
child: ListTile(
|
||||||
GestureDetector(
|
shape: RoundedRectangleBorder(
|
||||||
child: Icon(Icons.close_rounded),
|
side: BorderSide(color: ColorPalette.slate200),
|
||||||
|
borderRadius: BorderRadius.circular(14)
|
||||||
|
),
|
||||||
|
leading: Container(
|
||||||
|
padding: EdgeInsets.all(4),
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
color: ColorPalette.blue200.withOpacity(0.5),
|
||||||
|
borderRadius: BorderRadius.circular(8)
|
||||||
|
),
|
||||||
|
child: Image.asset(
|
||||||
|
e.value.icon,
|
||||||
|
width: SizeConfig.width * 0.07
|
||||||
|
)
|
||||||
|
),
|
||||||
|
contentPadding: EdgeInsets.symmetric(horizontal: 16, vertical: 4),
|
||||||
|
title: Text(e.value.title,
|
||||||
|
style: TextStyle(
|
||||||
|
fontWeight: FontWeight.w600,
|
||||||
|
fontSize: 16
|
||||||
|
),
|
||||||
|
),
|
||||||
|
trailing: Icon(Icons.chevron_right_rounded),
|
||||||
),
|
),
|
||||||
],
|
|
||||||
),
|
|
||||||
...listGoalInvest.asMap().entries.map((e) {
|
|
||||||
return ListTile(
|
|
||||||
leading: Image.asset(e.value.icon),
|
|
||||||
title: Text(e.value.title),
|
|
||||||
trailing: Icon(Icons.chevron_right_rounded),
|
|
||||||
);
|
);
|
||||||
})
|
}).toList()
|
||||||
],
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,7 +90,7 @@ class _LoginViewState extends State<LoginView> {
|
||||||
currentPage++;
|
currentPage++;
|
||||||
pageController.jumpToPage(1);
|
pageController.jumpToPage(1);
|
||||||
} else {
|
} else {
|
||||||
routePush(context, page: RiskProfileView());
|
routePush(context, page: BottomNavigationView());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -111,10 +111,6 @@ class PhoneNumberView extends StatelessWidget {
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
NumericPad(
|
|
||||||
onNumberSelected: (p0) {
|
|
||||||
},
|
|
||||||
)
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user