buildHighEmphasisButton method

Widget buildHighEmphasisButton(
  1. BuildContext context,
  2. FastPlanBlocState state
)

Builds the button with high emphasis styling.

Implementation

Widget buildHighEmphasisButton(
  BuildContext context,
  FastPlanBlocState state,
) {
  return FastPendingRaisedButton(
    isEnabled: state.isInitialized && !state.isPlanPurchasePending,
    onTap: () => handleOnTap(context),
    isPending: state.isRestoringPlan,
    labelText: _getLabelText(),
    expand: expand,
  );
}