flutter_navigation_bar 0.1.2

  • Readme
  • Changelog
  • Example
  • Installing
  • 68

flutter_navigation_bar #

A Flutter plugin for drawing behind the Navigation Bar.

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

0.0.1 #

Call setNavigationBarTransparent() and this plugin will set activity.getWindow().setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_IN_OVERSCAN, WindowManager.LayoutParams.FLAG_LAYOUT_IN_OVERSCAN)

0.0.2 #

Added FLAG_LAYOUT_NO_LIMITS.

0.0.3 #

Minor change.

0.0.4 #

Flags are set on init.

0.0.5 #

Converted to Kotlin and Swift. Solved the problem with a transparent Navigation Bar (full screen) and still allowing for the use of safe areas that work with input. Added support for equal width sides in landscape.

0.0.6 #

Changed so that you can set any widget at any time and get the changes.

0.0.7 #

0.0.6 never got published!?

0.0.8 #

Only worked on the first page. Now works on all pages.

0.0.9 #

Multi page problem fix.

0.1.0 #

Min height for detection of Software Navigation Bar is 16.

0.1.1 #

Set SWIFT_VERSION to 4.1

0.1.2 #

Changed SWIFT_VERSION to 4.2

example/README.md

flutter_navigation_bar_example #

Demonstrates how to use the flutter_navigation_bar plugin.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  flutter_navigation_bar: ^0.1.2

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:flutter_navigation_bar/flutter_navigation_bar.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
39
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
95
Overall:
Weighted score of the above. [more]
68
Learn more about scoring.

We analyzed this package on Nov 11, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.6.0
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.6

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Fix lib/flutter_navigation_bar.dart. (-1.49 points)

Analysis of lib/flutter_navigation_bar.dart reported 3 hints:

line 86 col 16: Don't explicitly initialize variables to null.

line 153 col 55: Name non-constant identifiers using lowerCamelCase.

line 167 col 37: The member 'setState' can only be used within instance members of subclasses of 'package:flutter/src/widgets/framework.dart'.

Maintenance suggestions

The package description is too short. (-5 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.7 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
flutter_test