routes.dart 312 B

12345678910111213141516
  1. import 'package:flutter/cupertino.dart';
  2. class Routes {
  3. static final Router router = new Router(
  4. routerDelegate: null,
  5. );
  6. static const ROOT = '/';
  7. static Routes _instance;
  8. static Routes get instance {
  9. if (_instance == null) {
  10. _instance = new Routes();
  11. }
  12. return _instance;
  13. }
  14. }