Skip to content

Instantly share code, notes, and snippets.

@ConProgramming
Created December 15, 2019 05:27
Show Gist options
  • Save ConProgramming/41a3e216819313540f719e79dff7e276 to your computer and use it in GitHub Desktop.
Save ConProgramming/41a3e216819313540f719e79dff7e276 to your computer and use it in GitHub Desktop.
import 'package:flutter/widgets.dart';
import 'package:example/screens/example1/examplescreen1.dart';
import 'package:example/screens/example2/examplescreen2.dart';
final Map<String, WidgetBuilder> routes = <String, WidgetBuilder>{
"/": (BuildContext context) => ExScreen1(),
"/ExScreen2": (BuildContext context) => ExScreen2(),
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment