Change % progress to portions
After Width: | Height: | Size: 208 B |
Before Width: | Height: | Size: 224 B After Width: | Height: | Size: 224 B |
After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 218 B After Width: | Height: | Size: 218 B |
Before Width: | Height: | Size: 209 B After Width: | Height: | Size: 209 B |
Before Width: | Height: | Size: 209 B |
Before Width: | Height: | Size: 209 B |
Before Width: | Height: | Size: 214 B After Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 215 B After Width: | Height: | Size: 215 B |
Before Width: | Height: | Size: 215 B After Width: | Height: | Size: 215 B |
Before Width: | Height: | Size: 217 B After Width: | Height: | Size: 217 B |
Before Width: | Height: | Size: 218 B After Width: | Height: | Size: 218 B |
Before Width: | Height: | Size: 220 B |
Before Width: | Height: | Size: 208 B After Width: | Height: | Size: 220 B |
Before Width: | Height: | Size: 224 B After Width: | Height: | Size: 224 B |
|
@ -74,7 +74,7 @@ class CommonElements {
|
|||
Positioned(
|
||||
top: 70,
|
||||
right: 90,
|
||||
child: Text('$progress%',
|
||||
child: Text(progress == 12 ? '11/11' : '$progress/11',
|
||||
style: TextStyle(fontSize: 12, color: Colors.black)),
|
||||
),
|
||||
]);
|
||||
|
|
|
@ -23,7 +23,7 @@ class OnboardingStepTen extends StatelessWidget {
|
|||
TextEditingController wordController = TextEditingController();
|
||||
TextEditingController _mnemonicController = TextEditingController();
|
||||
|
||||
final int progress = 58;
|
||||
final int progress = 7;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
|
|
@ -7,7 +7,7 @@ import 'package:gecko/screens/onBoarding/12_stepTwelve.dart';
|
|||
// ignore: must_be_immutable
|
||||
class OnboardingStepEleven extends StatelessWidget {
|
||||
TextEditingController tplController = TextEditingController();
|
||||
final int progress = 67;
|
||||
final int progress = 8;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
|
|
@ -7,7 +7,7 @@ import 'package:gecko/screens/onBoarding/13_stepThirteen.dart';
|
|||
// ignore: must_be_immutable
|
||||
class OnboardingStepTwelve extends StatelessWidget {
|
||||
TextEditingController tplController = TextEditingController();
|
||||
final int progress = 75;
|
||||
final int progress = 9;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
|
|
@ -10,7 +10,7 @@ import 'package:provider/provider.dart';
|
|||
// ignore: must_be_immutable
|
||||
class OnboardingStepThirteen extends StatelessWidget {
|
||||
NewWallet generatedWallet;
|
||||
final int progress = 83;
|
||||
final int progress = 10;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
|
|
@ -20,7 +20,7 @@ class OnboardingStepFourteen extends StatelessWidget {
|
|||
}) : super(key: validationKey);
|
||||
|
||||
NewWallet generatedWallet;
|
||||
final int progress = 92;
|
||||
final int progress = 11;
|
||||
final formKey = GlobalKey<FormState>();
|
||||
var pinColor = Color(0xFFA4B600);
|
||||
bool hasError = false;
|
||||
|
|
|
@ -7,7 +7,7 @@ import 'package:gecko/screens/myWallets/walletsHome.dart';
|
|||
// ignore: must_be_immutable
|
||||
class OnboardingStepFiveteen extends StatelessWidget {
|
||||
TextEditingController tplController = TextEditingController();
|
||||
final int progress = 28;
|
||||
final int progress = 12;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
|
|
@ -8,7 +8,7 @@ import 'package:gecko/screens/onBoarding/3_stepTwo.dart';
|
|||
// ignore: must_be_immutable
|
||||
class OnboardingStepOne extends StatelessWidget {
|
||||
TextEditingController tplController = TextEditingController();
|
||||
final int progress = 8;
|
||||
final int progress = 1;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
|
|
@ -9,7 +9,7 @@ import 'package:gecko/screens/onBoarding/4_stepFor.dart';
|
|||
// ignore: must_be_immutable
|
||||
class OnboardingStepTwo extends StatelessWidget {
|
||||
TextEditingController tplController = TextEditingController();
|
||||
final int progress = 17;
|
||||
final int progress = 2;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
|
|
@ -7,7 +7,7 @@ import 'package:gecko/screens/onBoarding/5_stepFive.dart';
|
|||
// ignore: must_be_immutable
|
||||
class OnboardingStepFor extends StatelessWidget {
|
||||
TextEditingController tplController = TextEditingController();
|
||||
final int progress = 20;
|
||||
final int progress = 3;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
|
|
@ -7,7 +7,7 @@ import 'package:gecko/screens/onBoarding/7_stepSeven.dart';
|
|||
// ignore: must_be_immutable
|
||||
class OnboardingStepFive extends StatelessWidget {
|
||||
TextEditingController tplController = TextEditingController();
|
||||
final int progress = 25;
|
||||
final int progress = 4;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
|
|
@ -7,7 +7,7 @@ import 'package:gecko/screens/onBoarding/8_stepEight.dart';
|
|||
// ignore: must_be_immutable
|
||||
class OnboardingStepSeven extends StatelessWidget {
|
||||
TextEditingController tplController = TextEditingController();
|
||||
final int progress = 33;
|
||||
final int progress = 5;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
|
|
@ -8,7 +8,7 @@ import 'package:gecko/screens/onBoarding/9_stepNine.dart';
|
|||
// ignore: must_be_immutable
|
||||
class OnboardingStepEight extends StatelessWidget {
|
||||
TextEditingController tplController = TextEditingController();
|
||||
final int progress = 42;
|
||||
final int progress = 6;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
|
|
@ -10,7 +10,7 @@ import 'package:provider/provider.dart';
|
|||
// ignore: must_be_immutable
|
||||
class OnboardingStepNine extends StatelessWidget {
|
||||
TextEditingController tplController = TextEditingController();
|
||||
final int progress = 50;
|
||||
final int progress = 6;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
|