Skip to content

Instantly share code, notes, and snippets.

@RuckyZucky
RuckyZucky / main.dart
Created January 26, 2023 23:23
Flutter go_router ShellRoute Hero example
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
void main() {
runApp(MyApp());
}
final _rootKey = GlobalKey<NavigatorState>();
final _nestedKey = GlobalKey<NavigatorState>();