pedromassango / bottom_navy_bar

A beautiful and animated bottom navigation
https://youtu.be/jJPSKEEiN-E
Apache License 2.0
1.02k stars 217 forks source link

Add support to override item width and item selected width #75

Open davidpatrickcoleman opened 3 years ago

davidpatrickcoleman commented 3 years ago

Overflow error appears if 5 tabs are displayed on smaller screen resolutions such as iPhone SE Simulator Screen Shot - iPhone SE - 2021-01-08 at 14 57 09

Add ability to change the hardcoded item width (default 50) and item (default 130) in order to accommodate smaller screens (for example, reduce selected width to 110 and default width to 40).

codecov-io commented 3 years ago

Codecov Report

Merging #75 (84baaf9) into master (08d0b31) will decrease coverage by 1.43%. The diff coverage is 57.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #75      +/-   ##
==========================================
- Coverage   79.74%   78.31%   -1.44%     
==========================================
  Files           1        1              
  Lines          79       83       +4     
==========================================
+ Hits           63       65       +2     
- Misses         16       18       +2     
Impacted Files Coverage Δ
lib/bottom_navy_bar.dart 78.31% <57.14%> (-1.44%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 08d0b31...84baaf9. Read the comment docs.