Skip to content
pubscout

m3_floating_toolbar

0.3.0, released 3 months ago by abrah.am

A Material Design 3 floating pill-style toolbar widget for Flutter.

WASM-readyUses material_ui
$ flutter pub add m3_floating_toolbar
Source repository

What it does

Provides a customizable floating toolbar widget supporting horizontal and vertical layouts, Material Design 3 color variants, icon and label action buttons, selected states, and optional FloatingActionButton integration.

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

Use it when

  • You need a Material Design 3 floating action toolbar or pill toolbar in your Flutter app.
  • You want to display icon-only, label-only, or combined buttons with built-in accessibility features.

Skip it when

  • You are building a standard top app bar or bottom navigation bar rather than a floating toolbar component.

Strengths

  • Supports Material Design 3 specs including automatic theming, touch targets, and elevation.
  • Offers both horizontal and vertical layouts with optional FloatingActionButton integration.
  • Provides built-in accessibility with semantic labels and tooltips.

Weaknesses

  • Limited to Material Design 3 floating toolbar patterns.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
M3FloatingToolbar(
  actions: [
    M3FloatingToolbarAction(
      icon: Icons.home,
      semanticLabel: 'Home',
      tooltip: 'Home',
      onPressed: () => print('Home pressed'),
    ),
    M3FloatingToolbarAction(
      icon: Icons.explore,
      semanticLabel: 'Explore',
      tooltip: 'Explore',
      onPressed: () => print('Explore pressed'),
    ),
  ],
)

Alternatives

Packages that do the same job and could replace m3_floating_toolbar.

Works with

Packages commonly used together with m3_floating_toolbar: ones it builds on, ones built on it, and its own family.