Skip to content

Support for GoRouter and MaterialApp.router #67

@falzfalzfalz

Description

@falzfalzfalz

Is your feature request related to a problem? Please describe.
Can this package play nice with GoRouter and MaterialApp.router instead of MaterialApp ?

Describe the solution you'd like
I'd like to be able to use this package to use my rive animation as splash screen, and configure it using GoRouter app router.

// main.dart
 @override
  Widget build(BuildContext context, WidgetRef ref) {
    final router = ref.watch(goRouterProvider);
...
    return MaterialApp.router(
        routerConfig: router,
...
}

**Describe alternatives you've considered**
Tried other packages, didn't work either.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions