buildLowEmphasisButton method

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

Builds the button with low emphasis styling.

Implementation

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