Skip to main content

puck 0.1.0 copy "puck: ^0.1.0" to clipboard
puck: ^0.1.0 copied to clipboard

Floating, draggable pucks that spring to the left or right screen edge.

Puck

Puck

A Floating Menu for Flutter

Pub Version CI Pub Points Pub Likes Pub Downloads License


Puck demo

A Menu Where You Need It! #

  • Anchor to the left or right edge of the screen.
  • Drag around your obstacles.
  • Expand your menu when needed.
  • Menu layout optimizes for available space.
  • Menu avoids the keyboard when up, and moves back when down.
  • Use a menu for quick theme checks, layout debugging, etc.



Get Started #

Place a PuckMenu above your app content. You can use a Stack to layer it on top.

import 'package:puck/puck.dart';

Stack(
  children: [
    yourPageContent,
    Positioned.fill(
      child: SafeArea(
        child: PuckMenu.singleLevel(
          rootPuck: yourMenuButton,
          puckItems: [searchButton, favoritesButton, shareButton],
        ),
      ),
    ),
  ],
)
0
likes
150
points
186
downloads

Documentation

API reference

Publisher

verified publisherflutterbountyhunters.com

Weekly Downloads

Floating, draggable pucks that spring to the left or right screen edge.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, shared_preferences

More

Packages that depend on puck