create static method

Future create({
  1. required BuildContext context,
  2. required Map<String, dynamic> config,
  3. required String slug,
  4. required String orthoKey,
  5. required Color bottomSheetColor,
})

Implementation

static Future create({
  required BuildContext context,
  required Map<String, dynamic> config,
  required String slug,
  required String orthoKey,
  required Color bottomSheetColor,
}) async =>
    await Navigator.push(
        context,
        MaterialPageRoute(
            builder: (_) => OrthoWeb(
                  orthoKey: orthoKey,
                  bottomSheetColor: bottomSheetColor,
                  config: config,
                  slug: slug,
                )));