forked from eatvio/eatvio_app
feat(registration): finished layout for new registration screen
This commit is contained in:
@@ -11,17 +11,12 @@ class StepProgress extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return BlocBuilder<RegistrationCubitV2, RegistrationStateV2>(
|
||||
builder: (context, state) {
|
||||
return GestureDetector(
|
||||
onTap: () {
|
||||
context.read<RegistrationCubitV2>().nextStep();
|
||||
},
|
||||
child: LinearProgressIndicator(
|
||||
value: state.step == 0 ? 0.5 : 1,
|
||||
borderRadius: BorderRadius.circular(6),
|
||||
color: appTheme.blueA400,
|
||||
backgroundColor: appTheme.greyD9,
|
||||
minHeight: 8,
|
||||
),
|
||||
return LinearProgressIndicator(
|
||||
value: state.step == 0 ? 0.5 : 1,
|
||||
borderRadius: BorderRadius.circular(6),
|
||||
color: appTheme.blueA400,
|
||||
backgroundColor: appTheme.greyD9,
|
||||
minHeight: 8,
|
||||
);
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user