Pakete, Repositories und App-Kategorien suchen

Cover von inkblob_navigation_bar
Paketdetailsv0.1.2

inkblob_navigation_bar

Eine benutzerdefinierte Navigationsleiste mit sanftem und dynamischem Ink-Blob-Übergangseffekt.

30-Tage-Downloads
16
Likes
39
Pub-Punkte
70

Paket installieren

flutter pub add inkblob_navigation_bar

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Eine anpassbare Bottom-Navigation-Bar mit einem glatten, dynamischen Ink-Blob-Übergangseffekt, der die Benutzerinteraktion durch flüssige visuelle Rückmeldung verbessert. Speziell für Flutter-Anwendungen entwickelt, bietet sie eine elegante Alternative zu herkömmlichen Navigationsleisten, indem sie das ausgewählte Element mit einem leuchtenden, expandierenden Tinten-ähnlichen Rippel animiert. Das Paket ist leichtgewichtig und einfach zu integrieren und ideal für moderne Benutzeroberflächen, die subtile Animationen und verfeinerte Mikro-Interaktionen betonen. Es unterstützt benutzerdefinierte Farben, Größen und Icon-Styling, sodass Entwickler ihre App nahtlos an die Design-Sprache anpassen können.

Anwendungsfälle

  • Verbesserung der Benutzererfahrung bei der Navigation in mobilen Apps
  • Visuell ansprechende Bottom-Tabs erstellen
  • Animationseffekte zur Tab-Auswahl hinzufügen
  • Modernisierung veralteter Navigationsleisten
  • Minimalistische Oberflächen mit dynamischen Elementen gestalten

Hauptmerkmale

  • Glatte Tintenflecken-Überganganimation
  • Anpassbare Farbe und Größe
  • Einfache Integration in bestehende Flutter-Apps
  • Unterstützt die Anpassung von Symbol und Beschriftung
  • Leicht und leistungsstark

Geeignet für

  • Flutter-Entwickler, die moderne Navigations-Oberflächen suchen
  • Apps, die sich auf Benutzererfahrung und visuelle Aufbereitung konzentrieren
  • Designer, die interaktive Bottom-Navigation implementieren
  • Projekte, die subtile, aber beeindruckende Animationen erfordern
  • Mobile Apps mit einer sauberen, zeitgenössischen Ästhetik

Hinweise

  • Passt möglicherweise nicht zu allen Design-Stilen oder Marken
  • Leistungseinfluss auf Geräten mit geringer Leistungsfähigkeit
  • Eingeschränkte Anpassung plattformspezifischen Verhaltens
  • Erfordert sorgfältige Farbkontraste für Barrierefreiheit
  • Nicht empfehlenswert für sehr komplexe Navigationsstrukturen

Original-README

Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.

Inkblob_navigation_bar

A custom navigation bar with smooth & dynamic ink blob transition effect.

Overview

This packages was inspired by this post from Dribbble

Implemented:

Gallery

Dynamic Movement
Customizable Curve
Custom Colors
Optional Titles
Works with any widgets

How to install

Simply add the package to your dependencies! No other steps required :)

Documentation

To use the InkblobNavigationBar you can simply use it in the bottomNavigationBar field of your material scaffold:

Scaffold(
  ...
  bottomNavigationBar: InkblobNavigationBar(
    ...
  )
)
You can customize these attributes in the navigation bar.
Attributes Type Description Default
showElevation bool Enable subtle shadow effect true
items List<InkblobBarItem> Item data for NavigationBar required
onItemSelected Function(int) Callback function when item tapped null
selectedIndex int Selected item index of navigation bar. required
previousIndex int Previously selected item index of navigation bar. selectedIndex
iconSize double Size of icons. 24.0
backgroundColor Color Background color of [CustomNavigationBar] Theme.bottomAppBarColor
containerHeight double Height of the NavigationBar 60
itemWidth double Total width of each item 2*containerHeight
curve Curve Animation curve of scale effect Curves.easInOutExpo
animationDuration Duration Duration of the total animation Duration(milliseconds: 270)

Attention: Both the selectedIndex and previousIndex are required for the animation to perform, an example of how to implement this is shown in the provided example app.

To customize the items in the navigation bar, just supply a list of InkblobBarItem like this.

InkblobNavigationBar(
  ...
  items: [
    // Simple Icon with a Title & Color
    InkblobBarItem(
      title: const Text('User'),
      filledIcon: const Icon(SpiriIcons.fi_sr_user),
      emptyIcon: const Icon(SpiriIcons.fi_rr_user),
      color: Colors.blue,
    ),
    // Custom Containers
    InkblobBarItem(
      filledIcon: Container(
        decoration: BoxDecoration(
          color: Colors.black,
          borderRadius: BorderRadius.circular(12),
        ),
      ),
      emptyIcon: Container(
        decoration: BoxDecoration(
          borderRadius: BorderRadius.circular(12),
          border: Border.all(color: Colors.black, width: 2),
        ),
      ),
    ),
    // Even Text Widgets
    InkblobBarItem(
      filledIcon: const Text('❤️', style: TextStyle(fontSize: 20)),
      emptyIcon: const Text('🖤', style: TextStyle(fontSize: 20)),
      color: Colors.red,
    ),
  ],
)

Example

Check the example app for a full implementation example.

Contribute

Issues and pull requests are always welcome!
If you found this project helpful, consider buying me a cup of :coffee:

Kategorien

Quell-Repository

Projekte, die dieses Paket verwenden

Noch keine Daten verfügbar.