metro/playbook_routes
library
Classes
-
PlaybookRoute
-
A page the app's router adds, for a playbook to visit.
Functions
-
playbookRoutesIn(String router, {String? readPage(String import)?})
→ List<PlaybookRoute>
-
The pages the
router source adds with router.add(SomePage.path ...),
in order, once each.
-
readPlaybookRoutes({String projectRoot = '.'})
→ List<PlaybookRoute>
-
The pages the router in
projectRoot adds, in the order it adds them,
reading each page's file for its route path. Empty when there's no router.
-
code with its comments blanked out, keeping strings as they are and
every character where it was.