custom_navigator 0.3.0

Flutter Android iOS web

A flutter package that makes it easy to create your own navigator anywhere in the widget tree.

25
likes
90 / 110
pub points
93 %
popularity

We analyzed this package on Sep 24, 2020, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

0/10 points: Failed to run dartdoc

  • Running dartdoc failed with the following output:
  warning: unresolved doc reference [BottomNavigationBar], from package-custom_navigator: file:///tmp/pub-dartlang-dartdocTJMAQL/pkg
  warning: unresolved doc reference [Navigator], from package-custom_navigator: file:///tmp/pub-dartlang-dartdocTJMAQL/pkg
  warning: unresolved doc reference [GlobalKey], from package-custom_navigator: file:///tmp/pub-dartlang-dartdocTJMAQL/pkg
  warning: unresolved doc reference [MaterialApp], from package-custom_navigator: file:///tmp/pub-dartlang-dartdocTJMAQL/pkg
  warning: custom_navigator has no library level documentation comments, from custom_navigator: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigation.dart:1:9)
  error: failed to write file at: custom_navigator/custom_navigator-library.html
    for symbol custom_navigator: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:1:1)
    conflicting with file already generated by custom_navigator: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigation.dart:1:9)
            Dartdoc generates a path and filename to write to for each symbol.
            custom_navigator conflicts with another symbol in the generated path, and
            therefore can not be written out.  Changing the name, library name, or
            class name (if appropriate) of one of the conflicting items can resolve
            the conflict.   Alternatively, use the @nodoc tag in one symbol's
            documentation comments to hide it.
  warning: unresolved doc reference [Navigator]
    from custom_navigator.CustomNavigator.initialRoute: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:13:16)
    in documentation inherited from custom_navigator.CustomNavigator.initialRoute: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:13:16)
  warning: unresolved doc reference [Window.defaultRouteName]
    from custom_navigator.CustomNavigator.initialRoute: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:13:16)
    in documentation inherited from custom_navigator.CustomNavigator.initialRoute: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:13:16)
  warning: unresolved doc reference [Navigator.defaultRouteName]
    from custom_navigator.CustomNavigator.initialRoute: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:13:16)
    in documentation inherited from custom_navigator.CustomNavigator.initialRoute: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:13:16)
  warning: unresolved doc reference [builder]
    from custom_navigator.CustomNavigator.initialRoute: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:13:16)
    in documentation inherited from custom_navigator.CustomNavigator.initialRoute: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:13:16)
  warning: unresolved doc reference [Navigator.initialRoute]
    from custom_navigator.CustomNavigator.initialRoute: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:13:16)
    in documentation inherited from custom_navigator.CustomNavigator.initialRoute: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:13:16)
  warning: unresolved doc reference [Navigator.push]
    from custom_navigator.CustomNavigator.initialRoute: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:13:16)
    in documentation inherited from custom_navigator.CustomNavigator.initialRoute: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:13:16)
  warning: unresolved doc reference [Navigator.pop]
    from custom_navigator.CustomNavigator.initialRoute: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:13:16)
    in documentation inherited from custom_navigator.CustomNavigator.initialRoute: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:13:16)
  warning: unresolved doc reference [Navigator]
    from custom_navigator.CustomNavigator.navigatorKey: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:10:35)
    in documentation inherited from custom_navigator.CustomNavigator.navigatorKey: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:10:35)
  warning: unresolved doc reference [BuildContext]
    from custom_navigator.CustomNavigator.navigatorKey: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:10:35)
    in documentation inherited from custom_navigator.CustomNavigator.navigatorKey: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:10:35)
  warning: unresolved doc reference [Navigator.of]
    from custom_navigator.CustomNavigator.navigatorKey: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:10:35)
    in documentation inherited from custom_navigator.CustomNavigator.navigatorKey: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:10:35)
  warning: unresolved doc reference [GlobalKey.currentState]
    from custom_navigator.CustomNavigator.navigatorKey: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:10:35)
    in documentation inherited from custom_navigator.CustomNavigator.navigatorKey: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:10:35)
  warning: unresolved doc reference [Navigator]
    from custom_navigator.CustomNavigator.navigatorObservers: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:42:33)
    in documentation inherited from custom_navigator.CustomNavigator.navigatorObservers: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:42:33)
  warning: unresolved doc reference [builder]
    from custom_navigator.CustomNavigator.navigatorObservers: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:42:33)
    in documentation inherited from custom_navigator.CustomNavigator.navigatorObservers: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:42:33)
  warning: unresolved doc reference [Navigator]
    from custom_navigator.CustomNavigator.onUnknownRoute: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:39:22)
    in documentation inherited from custom_navigator.CustomNavigator.onUnknownRoute: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:39:22)
  warning: unresolved doc reference [builder]
    from custom_navigator.CustomNavigator.onUnknownRoute: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:39:22)
    in documentation inherited from custom_navigator.CustomNavigator.onUnknownRoute: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:39:22)
  warning: unresolved doc reference [Navigator.defaultRouteName]
    from custom_navigator.CustomNavigator.routes: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:25:36)
    in documentation inherited from custom_navigator.CustomNavigator.routes: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:25:36)
  warning: unresolved doc reference [Navigator]
    from custom_navigator.CustomNavigator.routes: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:25:36)
    in documentation inherited from custom_navigator.CustomNavigator.routes: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:25:36)
  warning: unresolved doc reference [builder]
    from custom_navigator.CustomNavigator.routes: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:25:36)
    in documentation inherited from custom_navigator.CustomNavigator.routes: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_navigator.dart:25:36)
  warning: unresolved doc reference [items]
    from custom_scaffold.CustomScaffold.onItemTap: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_scaffold.dart:20:23)
    in documentation inherited from custom_scaffold.CustomScaffold.onItemTap: (file:///tmp/pub-dartlang-dartdocTJMAQL/pkg/lib/custom_scaffold.dart:20:23)
found 24 warnings and 1 error
Unhandled exception:
dartdoc encountered 1 errors while processing.
#0      Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:232:9)
<asynchronous suspension>
#1      main (file:///project/pkg/pub_dartdoc/bin/pub_dartdoc.dart:32:33)
<asynchronous suspension>
#2      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
Support multiple platforms
20 / 20

20/20 points: Supports 3 of 3 possible platforms (iOS, Android, Web)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

lib/custom_navigation.dart is not formatted according to dartfmt

To format your files run: dartfmt -w .

lib/custom_navigator.dart is not formatted according to dartfmt

To format your files run: dartfmt -w .

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.0.01.0.0
collection-1.14.131.14.13
meta-1.1.81.2.3
sky_engine-0.0.990.0.99
typed_data-1.2.01.2.0
vector_math-2.0.82.0.8

To reproduce run pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

25
likes
90
pub points
93%
popularity

A flutter package that makes it easy to create your own navigator anywhere in the widget tree.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

orfali.ayham@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on custom_navigator