Skip to content

Commit

Permalink
feat(auth): substituir RaisedButton por PenhasButton na página SignUpTwo
Browse files Browse the repository at this point in the history
  • Loading branch information
RoxyRoses committed Nov 19, 2024
1 parent 51355e8 commit 03464ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ import 'package:flutter_mobx/flutter_mobx.dart';
import 'package:flutter_modular/flutter_modular.dart';
import 'package:mobx/mobx.dart';

import '../../../../../../../shared/design_system/button_shape.dart';
import '../../../../../../../shared/design_system/colors.dart';
import '../../../../../../../shared/design_system/linear_gradient_design_system.dart';
import '../../../../../../../shared/design_system/text_styles.dart';
import '../../../../../../../shared/design_system/widgets/buttons/penhas_button.dart';
import '../../../../shared/input_box_style.dart';
import '../../../../shared/page_progress_indicator.dart';
import '../../../../shared/single_text_input.dart';
Expand Down Expand Up @@ -186,11 +185,8 @@ class _SignUpTwoPageState
}

Widget _buildNextButton() {
return RaisedButton(
return PenhasButton.roundedFilled(
onPressed: () => controller.nextStepPressed(),
elevation: 0,
color: DesignSystemColors.ligthPurple,
shape: kButtonShapeFilled,
child: const Text(
'Próximo',
style: kTextStyleDefaultFilledButtonLabel,
Expand Down Expand Up @@ -248,6 +244,6 @@ class _SignUpTwoPageState
if (MediaQuery.of(context).viewInsets.bottom > 0) {
SystemChannels.textInput.invokeMethod('TextInput.hide');
}
WidgetsBinding.instance?.focusManager.primaryFocus?.unfocus();
WidgetsBinding.instance.focusManager.primaryFocus?.unfocus();
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 03464ea

Please sign in to comment.