goConfirmPage static method

dynamic goConfirmPage(
  1. BuildContext context,
  2. String phone,
  3. CustomColorSet colors,
  4. BuildContext bigContext,
)

Implementation

static goConfirmPage(BuildContext context, String phone,
        CustomColorSet colors, BuildContext bigContext) =>
    Navigator.of(context).push(
      MaterialPageRoute(
        builder: (_) => BlocProvider(
          create: (context) => AuthBloc(),
          child: ConfirmScreen(
            phone: phone,
            bigContext: bigContext,
            colors: colors,
          ),
        ),
      ),
    );