A custom navigation bar with bubble click effect in Flutter

Overview

custom_navigation_bar

A custom navigation bar with bubble click effect.

pub package License: MIT Star on Github Star on Github

Overview

This project is inspired by this post from Dribbble and The Boring Flutter Development Show, Ep. 35

This package gives you a cute bubble effect when you click on the navigation bar.

Dribbble:

Implemented:

Gallery

How to install

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

dependencies:
  custom_navigation_bar: lastest version

Documentation

Attention

If you update from version under 0.6.0, there are some breaking changes in the version 0.6.0. The icon in CustomNavigationBarItem has changed from IconData to Widget.

old version

CustomNavigationBarItem(
      {@required this.icon,
      IconData selectedIcon,
      this.selectedTitle,
      this.unSelectedTitle,
      this.badgeCount = 0,
      this.showBadge = true})
      : selectedIcon = selectedIcon ?? icon;

  ///
  /// The icon of the item
  /// Typically the icon is an [Icon].
  ///
  final IconData icon;

new version

CustomNavigationBarItem(
      {@required this.icon,
      Widget selectedIcon,
      this.title,
      Text selectedTitle,
      this.badgeCount = 0,
      this.showBadge = false})
      : selectedIcon = selectedIcon ?? icon,
        selectedTitle = selectedTitle ?? title;

  ///
  /// The icon of the item
  /// Typically the icon is an [Icon].
  ///

  final Widget icon;      

You can customize these attributes in the navigation bar.

Attributes Type Description Default
scaleFactor double scale factor for the icon scale animation. 0.2
elevation double The z-coordinate of this CustomNavigationBar 8.0
items List item data in CustomNavigationBar required
selectedColor Color [Color] when [CustomNavigationBarItem] is selected [blueAccent]
unSelectedColor Color [Color] when [CustomNavigationBarItem] is not selected. grey[600]
onTap Function(int) callback function when item tapped null
currentIndex int current index of navigation bar. 0
iconSize double size of icon. also represent the max radius of bubble effect animation. 24.0
backgroundColor Color Background color of [CustomNavigationBar] Colors.white
strokeColor Color stroke color blueAccent
bubbleCurve Curve animation curve of bubble effect linear
scaleCurve Curve animation curve of scale effect linear
borderRadius Radius border radius of navigation bar Radius.zero
isFloating bool control if CustomNavigationBar is floating false
blurEffect bool control if CustomNavigationBar show blur effect false
opacity double control CustomNavigationBar blur effect opacity when blurEffect is true 0.8

Attention: If you set isFloating to true, I would recommand you to set extendBody to true in Scaffold for a better performance.

And for customize icon in the navigation bar, just put the icons you want in the CustomNavigationBarItem like this.

CustomNavigationBar(
        ...
        items: [
          CustomNavigationBarItem(
          icon: Icon(Icons.home),
          title: Text("hello"),
        ),
        CustomNavigationBarItem(
          icon: Icon(Icons.shopping_cart),
        ),
        CustomNavigationBarItem(
          icon: Icon(Icons.lightbulb_outline),
        ),
        CustomNavigationBarItem(
          icon: Icon(Icons.search),
        ),
        CustomNavigationBarItem(
          icon: Icon(Icons.account_circle),
        ),
        ],
        ...
      )

If you want add notification badge, just use like this

CustomNavigationBar(
        ...
        items: [
        CustomNavigationBarItem(
          icon: Icon(Icons.home),
          badgeCount: _badgeCounts[0],
          showBadge: _badgeShows[0],
        ),
        CustomNavigationBarItem(
          icon: Icon(Icons.shopping_bag),
          badgeCount: _badgeCounts[1],
          showBadge: _badgeShows[1],
        ),
        CustomNavigationBarItem(
          icon: Icon(Icons.lightbulb_outline),
          badgeCount: _badgeCounts[2],
          showBadge: _badgeShows[2],
        ),
        CustomNavigationBarItem(
          icon: Icon(Icons.search),
          badgeCount: _badgeCounts[3],
          showBadge: _badgeShows[3],
        ),
        CustomNavigationBarItem(
          icon: Icon(Icons.account_circle),
          badgeCount: _badgeCounts[4],
          showBadge: _badgeShows[4],
        ),
      ],
        ...
      )

To clear a badge, set showBadge to false

If you want add title under icon, just use like this

CustomNavigationBar(
      iconSize: 30.0,
      selectedColor: Color(0xff040307),
      strokeColor: Color(0x30040307),
      unSelectedColor: Color(0xffacacac),
      backgroundColor: Colors.white,
      items: [
        CustomNavigationBarItem(
          icon: Icon(Icons.home),
          title: Text("Home"),
        ),
        CustomNavigationBarItem(
          icon: Icon(Icons.shopping_cart),
          title: Text("Cart"),
        ),
        CustomNavigationBarItem(
          icon: Icon(Icons.lightbulb_outline),
          title: Text("Explore"),
        ),
        CustomNavigationBarItem(
          icon: Icon(Icons.search),
          title: Text("Search"),
        ),
        CustomNavigationBarItem(
          icon: Icon(Icons.account_circle),
          title: Text("Me"),
        ),
      ],
      currentIndex: _currentIndex,
      onTap: (index) {
        setState(() {
          _currentIndex = index;
        });
      },
    );

Example

Check example app for more details.

Contribute

Issues and pull requests are welcomed!!

Future Plans

  • Code format
  • Make it more like native navigation bar in Flutter.
  • Better documentation
  • More customizations!! And more...
Comments
  • Exception while testing

    Exception while testing

    I am getting this exception when testing my application with your navigation included. Which does not happen if I use a different one. Yet, I couldn't figure out the issue. The dispose() method is not getting called in the CostumeNavigationBarState when I debug it. Since, I am new to flutter you might have a better idea, where this comes from.

    ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ The following NoSuchMethodError was thrown while finalizing the widget tree: The method 'dispose' was called on null. Receiver: null Tried calling: dispose()

    When the exception was thrown, this was the stack: #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5) #1 _CustomNavigationBarState.dispose (package:custom_navigation_bar/src/custome_navigation_bar.dart:149:17) #2 StatefulElement.unmount (package:flutter/src/widgets/framework.dart:4435:12) #3 _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1748:13) #4 _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1746:7) #5 SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:5433:14) #6 _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1744:13) #7 _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1746:7) #8 SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:5433:14) #9 _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1744:13) #10 _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1746:7) #11 SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:5433:14) #12 _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1744:13) #13 _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1746:7) #14 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4272:14) #15 _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1744:13) #16 _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1746:7) #17 SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:5433:14) #18 _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1744:13) #19 _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1746:7) #20 MultiChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:5534:16) #21 _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1744:13) #22 _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1746:7) #23 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4272:14) #24 _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1744:13) #25 _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1746:7) #26 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4272:14) #27 _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1744:13) #28 _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1746:7) #29 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4272:14) #30 _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1744:13) #31 _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1746:7) #32 MultiChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:5534:16) #33 _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1744:13) #34 _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1746:7) #35 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4272:14) #36 _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1744:13) #37 _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1746:7) #38 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4272:14) #39 _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1744:13) #40 _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1746:7) #41 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4272:14) #42 _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1744:13) #43 _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1746:7) #44 SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:5433:14) #45 _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1744:13) #46 _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1746:7) #47 ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4272:14) #48 _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1744:13) #49 _InactiveElements._unmount. (package:flutter/src/widgets/framework.dart:1746:7) #50 SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:5433:14) ... (elided 28 frames from class _FakeAsync, package dart:async, package dart:async-patch, and package stack_trace) ════════════════════════════════════════════════════════════════════════════════════════════════════

    question 
    opened by JonnysCode 8
  • The animation doesn't end with a quick switch.

    The animation doesn't end with a quick switch.

    Hello, i found one issue, which doesn't let me implement this widget to my app. When i switching between tabs quickly, animation of icon growing isn't fully animated and icon remains large

    Here is normal size of icon.

    image

    Here is zoomed cart icon.

    image

    opened by XUXAYM 6
  • Increasing the gesture area per CustomNavigationBarItem

    Increasing the gesture area per CustomNavigationBarItem

    Thank you for this great package.

    Feature Request

    Would it be possible to increase the gesture area for each CustomNavigationBarItem ? For example the CupertinoTabScaffold 's TabBar takes on the default behaviour of not only tapping on the Icon itself, but rather tapping on the Icon and its relative surrounding.

    This makes it easier for users to easily change tabs without aiming directly for the Icons or better still, expose the animations to a CupertinoTabScaffold.

    enhancement 
    opened by adeolaex 5
  • When a CustomNavigationBarItem takes up more space, items go off center

    When a CustomNavigationBarItem takes up more space, items go off center

    So I have 3 NavbarItems all with a title of text. In the first one the text is longer, pushing the other 2 off center and to the side.

    So instead of ---1---2---3--- its ---1----2---3--

    Which seems odd since there is more than enough space for all 3 text widgets

    bug 
    opened by SilkeNL 3
  • Set the width of a floating navbar

    Set the width of a floating navbar

    I was wondering if it is possible to set the width of the floating navbar?

    Navbar that I have now:

    CustomNavigationBar( selectedColor: Color(0xFF279B40), strokeColor: Color(0xFF279B40), unSelectedColor: Colors.grey[600], backgroundColor: Colors.white, items: [ CustomNavigationBarItem( icon: Icon(Icons.notifications), title: Text("Meldingen", style: TextStyle(fontSize: 12, fontWeight: FontWeight.w600),), ), CustomNavigationBarItem( icon: Icon(Icons.home), title: Text("Dashboard", style: TextStyle(fontSize: 12, fontWeight: FontWeight.w600),), ), ], currentIndex: _activeIndex, onTap: (page) { _controller.animateToPage( page, duration: const Duration(milliseconds: 250), curve: Curves.fastOutSlowIn, ); }, borderRadius: Radius.circular(16.0), isFloating: true, ),

    enhancement 
    opened by SilkeNL 1
  • The example doesn't compile

    The example doesn't compile

    Due changes in flutter_icons this:

    AntDesign.getIconData('shoppingcart')

    Needs to be change to:

    AntDesign.shoppingcart

    And this other part:

    onChanged: (ThemeStyle value) { setState(() { _currentStyle = value; }); }

    Doesn't compile either, it needs "ThemeStyle ?" and

    ThemeStyle? _currentStyle = ThemeStyle.NotificationBadge;

    Also, the package flutter_icons is not null safety so, impossible to execute the example

    opened by dxxdv 0
  • Bug on dispose

    Bug on dispose

    I think there is a minor bug when disposing the widget. I paste here the log if you want to have a look.

    I/flutter ( 1324): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
    I/flutter ( 1324): The following assertion was thrown while finalizing the widget tree:
    I/flutter ( 1324): _CustomNavigationBarState#ce1da(tickers: tracking 1 ticker) was disposed with an active Ticker.
    I/flutter ( 1324): _CustomNavigationBarState created a Ticker via its TickerProviderStateMixin, but at the time
    I/flutter ( 1324): dispose() was called on the mixin, that Ticker was still active. All Tickers must be disposed before
    I/flutter ( 1324): calling super.dispose().
    I/flutter ( 1324): Tickers used by AnimationControllers should be disposed by calling dispose() on the
    I/flutter ( 1324): AnimationController itself. Otherwise, the ticker will leak.
    I/flutter ( 1324): The offending ticker was:
    I/flutter ( 1324):   _WidgetTicker(created by _CustomNavigationBarState#ce1da(tickers: tracking 1 ticker))
    I/flutter ( 1324):   The stack trace when the _WidgetTicker was actually created was:
    I/flutter ( 1324):   #0      new Ticker.<anonymous closure> (package:flutter/src/scheduler/ticker.dart:67:40)
    I/flutter ( 1324):   #1      new Ticker (package:flutter/src/scheduler/ticker.dart:69:6)
    I/flutter ( 1324):   #2      new _WidgetTicker (package:flutter/src/widgets/ticker_provider.dart:271:81)
    I/flutter ( 1324):   #3      TickerProviderStateMixin.createTicker
    I/flutter ( 1324):   (package:flutter/src/widgets/ticker_provider.dart:202:34)
    I/flutter ( 1324):   #4      new AnimationController (package:flutter/src/animation/animation_controller.dart:247:21)
    I/flutter ( 1324):   #5      _CustomNavigationBarState._startScale
    I/flutter ( 1324):   (package:custom_navigation_bar/src/custome_navigation_bar.dart:207:24)
    I/flutter ( 1324):   #6      _CustomNavigationBarState.didUpdateWidget
    I/flutter ( 1324):   (package:custom_navigation_bar/src/custome_navigation_bar.dart:184:7)
    I/flutter ( 1324):   #7      StatefulElement.update (package:flutter/src/widgets/framework.dart:4761:57)
    I/flutter ( 1324):   #8      Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
    I/flutter ( 1324):   #9      RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5596:32)
    I/flutter ( 1324):   #10     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6243:17)
    I/flutter ( 1324):   #11     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
    I/flutter ( 1324):   #12     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
    I/flutter ( 1324):   #13     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4746:11)
    I/flutter ( 1324):   #14     Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
    I/flutter ( 1324):   #15     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2582:33)
    I/flutter ( 1324):   #16     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:875:21)
    I/flutter ( 1324):   #17     RendererBinding._handlePersistentFrameCallback
    I/flutter ( 1324):   (package:flutter/src/rendering/binding.dart:328:5)
    I/flutter ( 1324):   #18     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
    I/flutter ( 1324):   #19     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1082:9)
    I/flutter ( 1324):   #20     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:998:5)
    I/flutter ( 1324):   #24     _invoke (dart:ui/hooks.dart:163:10)
    I/flutter ( 1324):   #25     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:259:5)
    I/flutter ( 1324):   #26     _drawFrame (dart:ui/hooks.dart:126:31)
    I/flutter ( 1324):   (elided 3 frames from dart:async)
    I/flutter ( 1324): 
    I/flutter ( 1324): When the exception was thrown, this was the stack:
    I/flutter ( 1324): #0      TickerProviderStateMixin.dispose.<anonymous closure> (package:flutter/src/widgets/ticker_provider.dart:219:13)
    I/flutter ( 1324): #1      TickerProviderStateMixin.dispose (package:flutter/src/widgets/ticker_provider.dart:237:6)
    I/flutter ( 1324): #2      _CustomNavigationBarState.dispose (package:custom_navigation_bar/src/custome_navigation_bar.dart:175:11)
    I/flutter ( 1324): #3      StatefulElement.unmount (package:flutter/src/widgets/framework.dart:4800:11)
    I/flutter ( 1324): #4      _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1847:13)
    I/flutter ( 1324): #5      _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #6      MultiChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6185:16)
    I/flutter ( 1324): #7      _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #8      _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #9      ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #10     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #11     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #12     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #13     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #14     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #15     MultiChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6185:16)
    I/flutter ( 1324): #16     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #17     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #18     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #19     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #20     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #21     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #22     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #23     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #24     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #25     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #26     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #27     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #28     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #29     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #30     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #31     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #32     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #33     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #34     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #35     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #36     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #37     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #38     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #39     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #40     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #41     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #42     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #43     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #44     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #45     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #46     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #47     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #48     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #49     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #50     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #51     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #52     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #53     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #54     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #55     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #56     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #57     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #58     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #59     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #60     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #61     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #62     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #63     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #64     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #65     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #66     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #67     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #68     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #69     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #70     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #71     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #72     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #73     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #74     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #75     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #76     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #77     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #78     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #79     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #80     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #81     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #82     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #83     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #84     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #85     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #86     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #87     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #88     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #89     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #90     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #91     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #92     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #93     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #94     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #95     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    
    ======== Exception caught by widgets library =======================================================
    The following assertion was thrown while finalizing the widget tree:
    _CustomNavigationBarState#ce1da(tickers: tracking 1 ticker) was disposed with an active Ticker.
    
    _CustomNavigationBarState created a Ticker via its TickerProviderStateMixin, but at the time dispose() was called on the mixin, that Ticker was still active. All Tickers must be disposed before calling super.dispose().
    
    Tickers used by AnimationControllers should be disposed by calling dispose() on the AnimationController itself. Otherwise, the ticker will leak.
    
    The offending ticker was: _WidgetTicker(created by _CustomNavigationBarState#ce1da(tickers: tracking 1 ticker))
    The stack trace when the _WidgetTicker was actually created was:
    #0      new Ticker.<anonymous closure> (package:flutter/src/scheduler/ticker.dart:67:40)
    #1      new Ticker (package:flutter/src/scheduler/ticker.dart:69:6)
    #2      new _WidgetTicker (package:flutter/src/widgets/ticker_provider.dart:271:81)
    #3      TickerProviderStateMixin.createTicker (package:flutter/src/widgets/ticker_provider.dart:202:34)
    #4      new AnimationController (package:flutter/src/animation/animation_controller.dart:247:21)
    #5      _CustomNavigationBarState._startScale (package:custom_navigation_bar/src/custome_navigation_bar.dart:207:24)
    #6      _CustomNavigationBarState.didUpdateWidget (package:custom_navigation_bar/src/custome_navigation_bar.dart:184:7)
    #7      StatefulElement.update (package:flutter/src/widgets/framework.dart:4761:57)
    #8      Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
    #9      RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5596:32)
    #10     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6243:17)
    #11     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
    #12     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
    #13     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4746:11)
    #14     Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
    #15     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2582:33)
    #16     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:875:21)
    #17     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:328:5)
    #18     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
    #19     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1082:9)
    #20     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:998:5)
    #24     _invoke (dart:ui/hooks.dart:163:10)
    #25     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:259:5)
    #26     _drawFrame (dart:ui/hooks.dart:126:31)
    (elided 3 frames from dart:async)
    
    When the exception was thrown, this was the stack: 
    #0      TickerProviderStateMixin.dispose.<anonymous closure> (package:flutter/src/widgets/ticker_provider.dart:219:13)
    #1      TickerProviderStateMixin.dispose (package:flutter/src/widgets/ticker_provider.dart:237:6)
    #2      _CustomNavigationBarState.dispose (package:custom_navigation_bar/src/custome_navigation_bar.dart:175:11)
    #3      StatefulElement.unmount (package:flutter/src/widgets/framework.dart:4800:11)
    #4      _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1847:13)
    ...
    ====================================================================================================
    
    ======== Exception caught by animation library =====================================================
    The following assertion was thrown while notifying listeners for AnimationController:
    'package:flutter/src/widgets/framework.dart': Failed assertion: line 4188 pos 12: '_lifecycleState != _ElementLifecycle.defunct': is not true.
    
    
    Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
    In either case, please report this assertion by filing a bug on GitHub:
      https://github.com/flutter/flutter/issues/new?template=2_bug.md
    
    When the exception was thrown, this was the stack: 
    #2      Element.markNeedsBuild (package:flutter/src/widgets/framework.dart:4188:12)
    #3      State.setState (package:flutter/src/widgets/framework.dart:1108:15)
    #4      _CustomNavigationBarState._startScale.<anonymous closure> (package:custom_navigation_bar/src/custome_navigation_bar.dart:223:9)
    #5      AnimationLocalListenersMixin.notifyListeners (package:flutter/src/animation/listener_helpers.dart:136:19)
    #6      AnimationController._tick (package:flutter/src/animation/animation_controller.dart:827:5)
    ...
    The AnimationController notifying listeners was: AnimationController#1f056(◀ 0.123)
    ====================================================================================================
    
    ======== Exception caught by animation library =====================================================
    The following assertion was thrown while notifying listeners for AnimationController:
    'package:flutter/src/widgets/framework.dart': Failed assertion: line 4188 pos 12: '_lifecycleState != _ElementLifecycle.defunct': is not true.
    
    
    Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
    In either case, please report this assertion by filing a bug on GitHub:
      https://github.com/flutter/flutter/issues/new?template=2_bug.md
    
    When the exception was thrown, this was the stack: 
    #2      Element.markNeedsBuild (package:flutter/src/widgets/framework.dart:4188:12)
    #3      State.setState (package:flutter/src/widgets/framework.dart:1108:15)
    #4      _CustomNavigationBarState._startScale.<anonymous closure> (package:custom_navigation_bar/src/custome_navigation_bar.dart:223:9)
    #5      AnimationLocalListenersMixin.notifyListeners (package:flutter/src/animation/listener_helpers.dart:136:19)
    #6      AnimationController._tick (package:flutter/src/animation/animation_controller.dart:827:5)
    ...
    The AnimationController notifying listeners was: AnimationController#1f056(⏮ 0.000; paused)
    ====================================================================================================
    I/flutter ( 1324): #96     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #97     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #98     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #99     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #100    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #101    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #102    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #103    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #104    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #105    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #106    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #107    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #108    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #109    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #110    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #111    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #112    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #113    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #114    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #115    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #116    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #117    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #118    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #119    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #120    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #121    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #122    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #123    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #124    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #125    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #126    SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #127    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #128    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #129    SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #130    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #131    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #132    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #133    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #134    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #135    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #136    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #137    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #138    SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #139    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #140    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #141    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #142    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #143    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #144    SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #145    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #146    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #147    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #148    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #149    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #150    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #151    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #152    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #153    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #154    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #155    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #156    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #157    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #158    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #159    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #160    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #161    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #162    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #163    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #164    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #165    SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #166    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #167    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #168    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #169    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #170    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #171    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #172    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #173    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #174    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #175    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #176    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #177    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #178    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #179    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #180    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #181    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #182    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #183    SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #184    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #185    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #186    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #187    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #188    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #189    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #190    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #191    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #192    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #193    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #194    ListIterable.forEach (dart:_internal/iterable.dart:39:13)
    I/flutter ( 1324): #195    _InactiveElements._unmountAll (package:flutter/src/widgets/framework.dart:1856:25)
    I/flutter ( 1324): #196    BuildOwner.finalizeTree.<anonymous closure> (package:flutter/src/widgets/framework.dart:2840:27)
    I/flutter ( 1324): #197    BuildOwner.lockState (package:flutter/src/widgets/framework.dart:2473:15)
    I/flutter ( 1324): #198    BuildOwner.finalizeTree (package:flutter/src/widgets/framework.dart:2839:7)
    I/flutter ( 1324): #199    WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:877:19)
    I/flutter ( 1324): #200    RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:328:5)
    I/flutter ( 1324): #201    SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
    I/flutter ( 1324): #202    SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1082:9)
    I/flutter ( 1324): #203    SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:998:5)
    I/flutter ( 1324): #207    _invoke (dart:ui/hooks.dart:163:10)
    I/flutter ( 1324): #208    PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:259:5)
    I/flutter ( 1324): #209    _drawFrame (dart:ui/hooks.dart:126:31)
    I/flutter ( 1324): (elided 3 frames from dart:async)
    I/flutter ( 1324): ════════════════════════════════════════════════════════════════════════════════════════════════════
    I/flutter ( 1324): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
    I/flutter ( 1324): The following assertion was thrown while finalizing the widget tree:
    I/flutter ( 1324): _CustomNavigationBarState#ce1da(tickers: tracking 1 ticker) was disposed with an active Ticker.
    I/flutter ( 1324): _CustomNavigationBarState created a Ticker via its TickerProviderStateMixin, but at the time
    I/flutter ( 1324): dispose() was called on the mixin, that Ticker was still active. All Tickers must be disposed before
    I/flutter ( 1324): calling super.dispose().
    I/flutter ( 1324): Tickers used by AnimationControllers should be disposed by calling dispose() on the
    I/flutter ( 1324): AnimationController itself. Otherwise, the ticker will leak.
    I/flutter ( 1324): The offending ticker was:
    I/flutter ( 1324):   _WidgetTicker(created by _CustomNavigationBarState#ce1da(tickers: tracking 1 ticker))
    I/flutter ( 1324):   The stack trace when the _WidgetTicker was actually created was:
    I/flutter ( 1324):   #0      new Ticker.<anonymous closure> (package:flutter/src/scheduler/ticker.dart:67:40)
    I/flutter ( 1324):   #1      new Ticker (package:flutter/src/scheduler/ticker.dart:69:6)
    I/flutter ( 1324):   #2      new _WidgetTicker (package:flutter/src/widgets/ticker_provider.dart:271:81)
    I/flutter ( 1324):   #3      TickerProviderStateMixin.createTicker
    I/flutter ( 1324):   (package:flutter/src/widgets/ticker_provider.dart:202:34)
    I/flutter ( 1324):   #4      new AnimationController (package:flutter/src/animation/animation_controller.dart:247:21)
    I/flutter ( 1324):   #5      _CustomNavigationBarState._startScale
    I/flutter ( 1324):   (package:custom_navigation_bar/src/custome_navigation_bar.dart:207:24)
    I/flutter ( 1324):   #6      _CustomNavigationBarState.didUpdateWidget
    I/flutter ( 1324):   (package:custom_navigation_bar/src/custome_navigation_bar.dart:184:7)
    I/flutter ( 1324):   #7      StatefulElement.update (package:flutter/src/widgets/framework.dart:4761:57)
    I/flutter ( 1324):   #8      Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
    I/flutter ( 1324):   #9      RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:5596:32)
    I/flutter ( 1324):   #10     MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6243:17)
    I/flutter ( 1324):   #11     Element.updateChild (package:flutter/src/widgets/framework.dart:3350:15)
    I/flutter ( 1324):   #12     ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4599:16)
    I/flutter ( 1324):   #13     StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:4746:11)
    I/flutter ( 1324):   #14     Element.rebuild (package:flutter/src/widgets/framework.dart:4267:5)
    I/flutter ( 1324):   #15     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2582:33)
    I/flutter ( 1324):   #16     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:875:21)
    I/flutter ( 1324):   #17     RendererBinding._handlePersistentFrameCallback
    I/flutter ( 1324):   (package:flutter/src/rendering/binding.dart:328:5)
    I/flutter ( 1324):   #18     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
    I/flutter ( 1324):   #19     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1082:9)
    I/flutter ( 1324):   #20     SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:998:5)
    I/flutter ( 1324):   #24     _invoke (dart:ui/hooks.dart:163:10)
    I/flutter ( 1324):   #25     PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:259:5)
    I/flutter ( 1324):   #26     _drawFrame (dart:ui/hooks.dart:126:31)
    I/flutter ( 1324):   (elided 3 frames from dart:async)
    I/flutter ( 1324): 
    I/flutter ( 1324): When the exception was thrown, this was the stack:
    I/flutter ( 1324): #0      TickerProviderStateMixin.dispose.<anonymous closure> (package:flutter/src/widgets/ticker_provider.dart:219:13)
    I/flutter ( 1324): #1      TickerProviderStateMixin.dispose (package:flutter/src/widgets/ticker_provider.dart:237:6)
    I/flutter ( 1324): #2      _CustomNavigationBarState.dispose (package:custom_navigation_bar/src/custome_navigation_bar.dart:175:11)
    I/flutter ( 1324): #3      StatefulElement.unmount (package:flutter/src/widgets/framework.dart:4800:11)
    I/flutter ( 1324): #4      _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1847:13)
    I/flutter ( 1324): #5      _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #6      MultiChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6185:16)
    I/flutter ( 1324): #7      _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #8      _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #9      ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #10     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #11     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #12     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #13     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #14     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #15     MultiChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6185:16)
    I/flutter ( 1324): #16     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #17     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #18     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #19     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #20     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #21     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #22     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #23     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #24     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #25     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #26     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #27     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #28     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #29     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #30     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #31     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #32     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #33     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #34     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #35     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #36     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #37     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #38     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #39     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #40     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #41     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #42     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #43     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #44     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #45     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #46     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #47     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #48     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #49     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #50     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #51     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #52     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #53     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #54     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #55     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #56     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #57     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #58     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #59     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #60     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #61     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #62     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #63     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #64     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #65     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #66     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #67     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #68     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #69     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #70     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #71     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #72     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #73     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #74     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #75     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #76     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #77     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #78     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #79     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #80     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #81     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #82     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #83     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #84     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #85     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #86     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #87     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #88     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #89     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #90     ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #91     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #92     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #93     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #94     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #95     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #96     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #97     _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #98     _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #99     SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #100    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #101    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #102    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #103    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #104    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #105    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #106    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #107    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #108    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #109    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #110    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #111    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #112    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #113    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #114    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #115    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #116    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #117    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #118    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #119    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #120    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #121    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #122    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #123    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #124    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #125    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #126    SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #127    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #128    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #129    SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #130    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #131    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #132    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #133    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #134    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #135    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #136    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #137    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #138    SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #139    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #140    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #141    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #142    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #143    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #144    SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #145    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #146    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #147    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #148    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #149    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #150    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #151    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #152    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #153    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #154    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #155    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #156    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #157    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #158    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #159    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #160    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #161    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #162    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #163    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #164    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #165    SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #166    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #167    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #168    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #169    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #170    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #171    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #172    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #173    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #174    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #175    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #176    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #177    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #178    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #179    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #180    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #181    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #182    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #183    SingleChildRenderObjectElement.visitChildren (package:flutter/src/widgets/framework.dart:6070:14)
    I/flutter ( 1324): #184    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #185    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #186    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #187    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #188    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #189    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #190    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #191    _InactiveElements._unmount.<anonymous closure> (package:flutter/src/widgets/framework.dart:1845:7)
    I/flutter ( 1324): #192    ComponentElement.visitChildren (package:flutter/src/widgets/framework.dart:4628:14)
    I/flutter ( 1324): #193    _InactiveElements._unmount (package:flutter/src/widgets/framework.dart:1843:13)
    I/flutter ( 1324): #194    ListIterable.forEach (dart:_internal/iterable.dart:39:13)
    I/flutter ( 1324): #195    _InactiveElements._unmountAll (package:flutter/src/widgets/framework.dart:1856:25)
    I/flutter ( 1324): #196    BuildOwner.finalizeTree.<anonymous closure> (package:flutter/src/widgets/framework.dart:2840:27)
    I/flutter ( 1324): #197    BuildOwner.lockState (package:flutter/src/widgets/framework.dart:2473:15)
    I/flutter ( 1324): #198    BuildOwner.finalizeTree (package:flutter/src/widgets/framework.dart:2839:7)
    I/flutter ( 1324): #199    WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:877:19)
    I/flutter ( 1324): #200    RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:328:5)
    I/flutter ( 1324): #201    SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
    I/flutter ( 1324): #202    SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1082:9)
    I/flutter ( 1324): #203    SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:998:5)
    I/flutter ( 1324): #207    _invoke (dart:ui/hooks.dart:163:10)
    I/flutter ( 1324): #208    PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:259:5)
    I/flutter ( 1324): #209    _drawFrame (dart:ui/hooks.dart:126:31)
    I/flutter ( 1324): (elided 3 frames from dart:async)
    I/flutter ( 1324): ════════════════════════════════════════════════════════════════════════════════════════════════════
    I/flutter ( 1324): ══╡ EXCEPTION CAUGHT BY ANIMATION LIBRARY ╞═════════════════════════════════════════════════════════
    I/flutter ( 1324): The following assertion was thrown while notifying listeners for AnimationController:
    I/flutter ( 1324): 'package:flutter/src/widgets/framework.dart': Failed assertion: line 4188 pos 12: '_lifecycleState
    I/flutter ( 1324): != _ElementLifecycle.defunct': is not true.
    I/flutter ( 1324): 
    I/flutter ( 1324): Either the assertion indicates an error in the framework itself, or we should provide substantially
    I/flutter ( 1324): more information in this error message to help you determine and fix the underlying cause.
    I/flutter ( 1324): In either case, please report this assertion by filing a bug on GitHub:
    I/flutter ( 1324):   https://github.com/flutter/flutter/issues/new?template=2_bug.md
    I/flutter ( 1324): 
    I/flutter ( 1324): When the exception was thrown, this was the stack:
    I/flutter ( 1324): #2      Element.markNeedsBuild (package:flutter/src/widgets/framework.dart:4188:12)
    I/flutter ( 1324): #3      State.setState (package:flutter/src/widgets/framework.dart:1108:15)
    I/flutter ( 1324): #4      _CustomNavigationBarState._startScale.<anonymous closure> (package:custom_navigation_bar/src/custome_navigation_bar.dart:223:9)
    I/flutter ( 1324): #5      AnimationLocalListenersMixin.notifyListeners (package:flutter/src/animation/listener_helpers.dart:136:19)
    I/flutter ( 1324): #6      AnimationController._tick (package:flutter/src/animation/animation_controller.dart:827:5)
    I/flutter ( 1324): #7      Ticker._tick (package:flutter/src/scheduler/ticker.dart:238:12)
    I/flutter ( 1324): #8      SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
    I/flutter ( 1324): #9      SchedulerBinding.handleBeginFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:1058:11)
    I/flutter ( 1324): #10     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:397:8)
    I/flutter ( 1324): #11     SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:1056:17)
    I/flutter ( 1324): #12     SchedulerBinding._handleBeginFrame (package:flutter/src/scheduler/binding.dart:977:5)
    I/flutter ( 1324): #16     _invoke1 (dart:ui/hooks.dart:182:10)
    I/flutter ( 1324): #17     PlatformDispatcher._beginFrame (dart:ui/platform_dispatcher.dart:237:5)
    I/flutter ( 1324): #18     _beginFrame (dart:ui/hooks.dart:114:31)
    I/flutter ( 1324): (elided 5 frames from class _AssertionError and dart:async)
    I/flutter ( 1324): 
    I/flutter ( 1324): The AnimationController notifying listeners was:
    I/flutter ( 1324):   AnimationController#1f056(◀ 0.123)
    I/flutter ( 1324): ════════════════════════════════════════════════════════════════════════════════════════════════════
    I/flutter ( 1324): ══╡ EXCEPTION CAUGHT BY ANIMATION LIBRARY ╞═════════════════════════════════════════════════════════
    I/flutter ( 1324): The following assertion was thrown while notifying listeners for AnimationController:
    I/flutter ( 1324): 'package:flutter/src/widgets/framework.dart': Failed assertion: line 4188 pos 12: '_lifecycleState
    I/flutter ( 1324): != _ElementLifecycle.defunct': is not true.
    I/flutter ( 1324): 
    I/flutter ( 1324): Either the assertion indicates an error in the framework itself, or we should provide substantially
    I/flutter ( 1324): more information in this error message to help you determine and fix the underlying cause.
    I/flutter ( 1324): In either case, please report this assertion by filing a bug on GitHub:
    I/flutter ( 1324):   https://github.com/flutter/flutter/issues/new?template=2_bug.md
    I/flutter ( 1324): 
    I/flutter ( 1324): When the exception was thrown, this was the stack:
    I/flutter ( 1324): #2      Element.markNeedsBuild (package:flutter/src/widgets/framework.dart:4188:12)
    I/flutter ( 1324): #3      State.setState (package:flutter/src/widgets/framework.dart:1108:15)
    I/flutter ( 1324): #4      _CustomNavigationBarState._startScale.<anonymous closure> (package:custom_navigation_bar/src/custome_navigation_bar.dart:223:9)
    I/flutter ( 1324): #5      AnimationLocalListenersMixin.notifyListeners (package:flutter/src/animation/listener_helpers.dart:136:19)
    I/flutter ( 1324): #6      AnimationController._tick (package:flutter/src/animation/animation_controller.dart:827:5)
    I/flutter ( 1324): #7      Ticker._tick (package:flutter/src/scheduler/ticker.dart:238:12)
    I/flutter ( 1324): #8      SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
    I/flutter ( 1324): #9      SchedulerBinding.handleBeginFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:1058:11)
    I/flutter ( 1324): #10     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:397:8)
    I/flutter ( 1324): #11     SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:1056:17)
    I/flutter ( 1324): #12     SchedulerBinding._handleBeginFrame (package:flutter/src/scheduler/binding.dart:977:5)
    I/flutter ( 1324): #16     _invoke1 (dart:ui/hooks.dart:182:10)
    I/flutter ( 1324): #17     PlatformDispatcher._beginFrame (dart:ui/platform_dispatcher.dart:237:5)
    I/flutter ( 1324): #18     _beginFrame (dart:ui/hooks.dart:114:31)
    I/flutter ( 1324): (elided 5 frames from class _AssertionError and dart:async)
    I/flutter ( 1324): 
    I/flutter ( 1324): The AnimationController notifying listeners was:
    I/flutter ( 1324):   AnimationController#1f056(◀ 0.123)
    I/flutter ( 1324): ════════════════════════════════════════════════════════════════════════════════════════════════════
    I/flutter ( 1324): ══╡ EXCEPTION CAUGHT BY ANIMATION LIBRARY ╞═════════════════════════════════════════════════════════
    I/flutter ( 1324): The following assertion was thrown while notifying listeners for AnimationController:
    I/flutter ( 1324): 'package:flutter/src/widgets/framework.dart': Failed assertion: line 4188 pos 12: '_lifecycleState
    I/flutter ( 1324): != _ElementLifecycle.defunct': is not true.
    I/flutter ( 1324): 
    I/flutter ( 1324): Either the assertion indicates an error in the framework itself, or we should provide substantially
    I/flutter ( 1324): more information in this error message to help you determine and fix the underlying cause.
    I/flutter ( 1324): In either case, please report this assertion by filing a bug on GitHub:
    I/flutter ( 1324):   https://github.com/flutter/flutter/issues/new?template=2_bug.md
    I/flutter ( 1324): 
    I/flutter ( 1324): When the exception was thrown, this was the stack:
    I/flutter ( 1324): #2      Element.markNeedsBuild (package:flutter/src/widgets/framework.dart:4188:12)
    I/flutter ( 1324): #3      State.setState (package:flutter/src/widgets/framework.dart:1108:15)
    I/flutter ( 1324): #4      _CustomNavigationBarState._startScale.<anonymous closure> (package:custom_navigation_bar/src/custome_navigation_bar.dart:223:9)
    I/flutter ( 1324): #5      AnimationLocalListenersMixin.notifyListeners (package:flutter/src/animation/listener_helpers.dart:136:19)
    I/flutter ( 1324): #6      AnimationController._tick (package:flutter/src/animation/animation_controller.dart:827:5)
    I/flutter ( 1324): #7      Ticker._tick (package:flutter/src/scheduler/ticker.dart:238:12)
    I/flutter ( 1324): #8      SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
    I/flutter ( 1324): #9      SchedulerBinding.handleBeginFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:1058:11)
    I/flutter ( 1324): #10     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:397:8)
    I/flutter ( 1324): #11     SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:1056:17)
    I/flutter ( 1324): #12     SchedulerBinding._handleBeginFrame (package:flutter/src/scheduler/binding.dart:977:5)
    I/flutter ( 1324): #16     _invoke1 (dart:ui/hooks.dart:182:10)
    I/flutter ( 1324): #17     PlatformDispatcher._beginFrame (dart:ui/platform_dispatcher.dart:237:5)
    I/flutter ( 1324): #18     _beginFrame (dart:ui/hooks.dart:114:31)
    I/flutter ( 1324): (elided 5 frames from class _AssertionError and dart:async)
    I/flutter ( 1324): 
    I/flutter ( 1324): The AnimationController notifying listeners was:
    I/flutter ( 1324):   AnimationController#1f056(⏮ 0.000; paused)
    I/flutter ( 1324): ════════════════════════════════════════════════════════════════════════════════════════════════════
    I/flutter ( 1324): ══╡ EXCEPTION CAUGHT BY ANIMATION LIBRARY ╞═════════════════════════════════════════════════════════
    I/flutter ( 1324): The following assertion was thrown while notifying listeners for AnimationController:
    I/flutter ( 1324): 'package:flutter/src/widgets/framework.dart': Failed assertion: line 4188 pos 12: '_lifecycleState
    I/flutter ( 1324): != _ElementLifecycle.defunct': is not true.
    I/flutter ( 1324): 
    I/flutter ( 1324): Either the assertion indicates an error in the framework itself, or we should provide substantially
    I/flutter ( 1324): more information in this error message to help you determine and fix the underlying cause.
    I/flutter ( 1324): In either case, please report this assertion by filing a bug on GitHub:
    I/flutter ( 1324):   https://github.com/flutter/flutter/issues/new?template=2_bug.md
    I/flutter ( 1324): 
    I/flutter ( 1324): When the exception was thrown, this was the stack:
    I/flutter ( 1324): #2      Element.markNeedsBuild (package:flutter/src/widgets/framework.dart:4188:12)
    I/flutter ( 1324): #3      State.setState (package:flutter/src/widgets/framework.dart:1108:15)
    I/flutter ( 1324): #4      _CustomNavigationBarState._startScale.<anonymous closure> (package:custom_navigation_bar/src/custome_navigation_bar.dart:223:9)
    I/flutter ( 1324): #5      AnimationLocalListenersMixin.notifyListeners (package:flutter/src/animation/listener_helpers.dart:136:19)
    I/flutter ( 1324): #6      AnimationController._tick (package:flutter/src/animation/animation_controller.dart:827:5)
    I/flutter ( 1324): #7      Ticker._tick (package:flutter/src/scheduler/ticker.dart:238:12)
    I/flutter ( 1324): #8      SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1144:15)
    I/flutter ( 1324): #9      SchedulerBinding.handleBeginFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:1058:11)
    I/flutter ( 1324): #10     _LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:397:8)
    I/flutter ( 1324): #11     SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:1056:17)
    I/flutter ( 1324): #12     SchedulerBinding._handleBeginFrame (package:flutter/src/scheduler/binding.dart:977:5)
    I/flutter ( 1324): #16     _invoke1 (dart:ui/hooks.dart:182:10)
    I/flutter ( 1324): #17     PlatformDispatcher._beginFrame (dart:ui/platform_dispatcher.dart:237:5)
    I/flutter ( 1324): #18     _beginFrame (dart:ui/hooks.dart:114:31)
    I/flutter ( 1324): (elided 5 frames from class _AssertionError and dart:async)
    I/flutter ( 1324): 
    I/flutter ( 1324): The AnimationController notifying listeners was:
    I/flutter ( 1324):   AnimationController#1f056(⏮ 0.000; paused)
    I/flutter ( 1324): ════════════════════════════════════════════════════════════════════════════════════════════════════
    
    
    opened by marcoberetta96 3
  • Padding problem

    Padding problem

    When I remove the title property (CustomNavigationBarItem) on iphone 11, there is a space above it. but no problem on iphone 7 plus.

    But if I set it to Title('') the problem goes away. This time the problem is on iphone 7.

    Code:

    @override
      Widget build(BuildContext context) {
        return KeyboardDismissOnTap(
          child: Scaffold(
            bottomNavigationBar: MyBottomNavigationBar(),
            body: pages[_selectedIndex],
          ),
        );
      }
    
      Widget MyBottomNavigationBar() {
        return CustomNavigationBar(
          elevation: 5,
          bubbleCurve: Curves.linear,
          iconSize: 28.0,
          selectedColor:
              Theme.of(context).bottomNavigationBarTheme.selectedItemColor ??
                  Colors.black,
          strokeColor: Color(0x30040307),
          unSelectedColor:
              Theme.of(context).bottomNavigationBarTheme.unselectedItemColor ??
                  Colors.black38,
          backgroundColor:
              Theme.of(context).bottomNavigationBarTheme.backgroundColor ??
                  Colors.white,
          borderRadius: Radius.circular(10.0),
          items: [
            CustomNavigationBarItem(
              icon: Icon(LineIcons.home),
              title: Text(""),
            ),
            CustomNavigationBarItem(
              icon: Icon(LineIcons.search),
              title: Text(""),
            ),
            CustomNavigationBarItem(
              icon: Icon(LineIcons.plusCircle),
              // title: Text(""),
            ),
            CustomNavigationBarItem(
              icon: Icon(LineIcons.bell),
              // title: Text(""),
            ),
            CustomNavigationBarItem(
              icon: Icon(LineIcons.userCircle),
              // title: Text(""),
            ),
          ],
          currentIndex: _selectedIndex,
          onTap: (index) {
            setState(() {
              _selectedIndex = index;
            });
          },
        );
      }
    
    enhancement 
    opened by malikdoksoz 3
Releases(0.7.0)
Owner
chaoxiang wen
Mobile developer, Java, Kotlin and Dart
chaoxiang wen
Bottom navigation bar with sliding clip effect.

Sliding Clipped Nav Bar Design Credit Toolbar icons animation by Cuberto How to use? API reference barItems → List<BarItem> List of bar items that sho

Watery Desert 55 Dec 3, 2022
Flutter-nav-bottom-bar-tutorial - A flutter bottom navigation bar tutorial

Flutter Bottom Navigation Bar Tutorial A tutorial with various Flutter bottom na

Aleyna Eser 2 Oct 25, 2022
Animation nav bar - Flutter Animated Navigation Bar

Flutter Animated Navigation Bar Getting Started This project is a starting point

Sudesh Nishshanka Bandara 23 Dec 30, 2022
Fancy list loading effect or The Shimmer Effect in Flutter

Shimmer Effect in Shimmer Effect is really cool placeholder effect that you can show when you are loading data in the form of a list. To do it in flut

Ronak Punase 31 Oct 18, 2022
The Ken Burns effect is a type of panning and zooming effect used in video production from still imagery.

KenBurns The Ken Burns effect is a type of panning and zooming effect used in video production from still imagery. First add to your dependencies: dep

Favour Olukayode 1 Apr 28, 2022
In this project, we will design a travel app UI with a parallax effect for a unique scroll experience. You will learn how to create your own parallax effect without using external libraries.

Travel App UI In this part, we will design a travel app UI with a parallax effect for a unique scroll experience. You will learn how to create your ow

DebugErrorX 5 Dec 5, 2022
Custom bottom bar - A bottom tool bar that can be swiped left or right to expose more tools.

custom_bottom_bar A bottom tool bar that can be swiped left or right to expose more tools. usage Create your custom bottom bars with up to four custom

null 4 Jan 26, 2020
A custom bottom navigation bar with box animation for flutter

A custom bottom navigation bar with box animation. This is inspired from some of the earlier designs, but in a more simplified and yet exiting way. De

SHIVAM SONI 1 Jul 31, 2022
New trick on how to create your own custom icons in flutter with bottom bar navigation

Customized Bottom Navigation Bar in Flutter | Tech With Sam Customized Bottom Navigation Bar in Flutter - Watch on youtube ✌   App Preview App Screens

Samuel Adekunle 10 Oct 26, 2022
Custom Shaped Bottom Navigation Bar in Flutter

CustomShapedBottomBar Custom Shaped Bottom Navigation Bar in Flutter **Usage: ** Add CustomPaint Widget to use this Painter class like this: C

Shraddha Sojitra 5 May 6, 2022
best flutter / dart practices + Custom Painter + Sliver App Bar + Custom Scrollview

Weekly Budget Flutter App A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get yo

Mohamed Awnallah 4 Oct 21, 2021
Vineet Kalghatgi 32 May 13, 2022
A flutter plugin about qr code or bar code scan , it can scan from file、url、memory and camera qr code or bar code .Welcome to feedback your issue.

r_scan A flutter plugin about qr code or bar code scan , it can scan from file、url、memory and camera qr code or bar code .Welcome to feedback your iss

PengHui Li 112 Nov 11, 2022
Starlight search bar - Starlight search bar with flutter

starlight_search_bar If you find the easiest way to search your item, this is fo

Ye Myo Aung 1 Apr 20, 2022
This is a JazzCash UI clone ( Modern Wallet App in Pakistan), implementing modern app bar animmation. One can take a concept of making app bar with animation.

jazzcash_ui This is a JazzCash UI clone ( Modern Wallet App in Pakistan), implementing modern app bar animmation. One can take a concept of making app

null 9 Nov 27, 2022
Flutter-FFNavigationBar - Configurable navigation bar for Flutter

ff_navigation_bar A highly configurable navigation bar with emphasis for the selected item. Add dependency dependencies: ff_navigation_bar: ^0.1.5

55 Builds 211 Sep 22, 2022
Flutter-context-menus - A flutter package to show context menus on right-click or long-press

context_menus A package to show context menus on right-click or long-press. ?? I

null 0 Jan 18, 2022
This is repository for Spin Circle Bottom Navigation Bar Package for Flutter

Spin Circle Bottom Bar An easy to implement Spin Circle Bottom Navigation Bar for Flutter Applications. Current Features Initial Release for Spin Circ

Paras Jain 79 Dec 22, 2022
simple flutter bottom navigation bar widget

bmnav A very flexible Flutter implementation of the Bottom Navigation Bar. Get Started Add bmanv to your pubspec.yaml file: dependencies: bmnav: ^0.

Edwin 21 Oct 8, 2022