Skip to content
pubscout

sliding_clipped_nav_bar

3.1.1, released 3 years ago by waterydesert.com

Bottom navigation bar with sliding clipping effect and ripple on tap.

WASM-ready
$ flutter pub add sliding_clipped_nav_bar
Source repository

What it does

Provides a bottom navigation bar where the selected item slides with a clipping animation. Supports up to four items and optional per‑item active/inactive colors.

AI-written summary of version 3.1.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a small (2‑4 items) animated bottom navigation bar with a distinctive sliding clip effect.
  • You want a ready‑made widget that handles the animation without custom code.

Skip it when

  • You need more than four navigation items.
  • You require a fully customizable navigation bar layout or platform‑specific behavior.

Strengths

  • Unique sliding clipping animation
  • Simple API with optional per‑item colors
  • Works on all Flutter platforms

Weaknesses

  • Maximum of four items limits complex apps
  • Fixed height (around 60) limits design flexibility
  • No built‑in support for deep linking or route management

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
import 'package:sliding_clipped_nav_bar/sliding_clipped_nav_bar.dart';

Scaffold(
  body: PageView(
    controller: _controller,
    physics: const NeverScrollableScrollPhysics(),
  ),
  bottomNavigationBar: SlidingClippedNavBar(
    backgroundColor: Colors.white,
    selectedIndex: _selectedIndex,
    onButtonPressed: (index) {
      setState(() => _selectedIndex = index);
      _controller.animateToPage(index,
          duration: const Duration(milliseconds: 400),
          curve: Curves.easeOutQuad);
    },
    barItems: const [
      BarItem(icon: Icons.event, title: 'Events'),
      BarItem(icon: Icons.search_rounded, title: 'Search'),
    ],
  ),
);

Alternatives

Packages that do the same job and could replace sliding_clipped_nav_bar.

  • menu_bar

    A customizable application menu bar widget with submenus for Flutter desktop apps.

  • app_badge_plus

    Flutter plugin to set numeric badges on app icons for iOS, Android, and macOS

  • awesome_bottom_bar

    A customizable bottom navigation bar with various animated styles.

  • re_editor

    A lightweight text and code editor widget for Flutter with syntax highlighting and folding.