Change % progress to portions

This commit is contained in:
poka 2021-03-08 01:08:26 +01:00
parent 43a145821d
commit 9d11b7fcb5
30 changed files with 14 additions and 14 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

View File

Before

Width:  |  Height:  |  Size: 224 B

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 218 B

After

Width:  |  Height:  |  Size: 218 B

View File

Before

Width:  |  Height:  |  Size: 209 B

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 B

View File

Before

Width:  |  Height:  |  Size: 214 B

After

Width:  |  Height:  |  Size: 214 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 B

View File

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 215 B

View File

Before

Width:  |  Height:  |  Size: 215 B

After

Width:  |  Height:  |  Size: 215 B

View File

Before

Width:  |  Height:  |  Size: 217 B

After

Width:  |  Height:  |  Size: 217 B

View File

Before

Width:  |  Height:  |  Size: 218 B

After

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 208 B

After

Width:  |  Height:  |  Size: 220 B

View File

Before

Width:  |  Height:  |  Size: 224 B

After

Width:  |  Height:  |  Size: 224 B

View File

@ -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)),
),
]);

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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;

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {