app_float_button 0.0.1 copy "app_float_button: ^0.0.1" to clipboard
app_float_button: ^0.0.1 copied to clipboard

A Flutter package that provides customizable floating action buttons and animated speed dial menus for quick access to multiple actions.

app_float_button #

A Flutter package providing enhanced floating action buttons and speed dial menus for modern and interactive UIs. Includes AppFloatingActionBtn for easy FAB configuration and a SpeedDial widget for displaying multiple actions.

Features #

  • AppFloatingActionBtn: A simple wrapper for FloatingActionButton and FloatingActionButton.extended.
  • SpeedDial: A fully customizable floating menu with animation and multiple action buttons.
  • Support for custom icons, labels, colors, and animation control.

Getting Started #

Add the package to your pubspec.yaml:

dependencies:
  app_float_button: <latest_version>

Usage #

AppFloatingActionBtn #

AppFloatingActionBtn(
  icon: Icons.add,
  label: 'New Item',
  onPressed: () {
    // Handle action
  },
)

SpeedDial #

SpeedDial(
  onOpenIcon: Icons.menu,
  onCloseIcon: Icons.close,
  speedDialChildren: [
    SpeedDialChild(
      child: const Icon(Icons.mail),
      backgroundColor: Colors.blue,
      foregroundColor: Colors.white,
      label: 'Mail',
      onPressed: () {
        // Handle mail action
      },
    ),
    SpeedDialChild(
      child: const Icon(Icons.share),
      backgroundColor: Colors.green,
      foregroundColor: Colors.white,
      label: 'Share',
      onPressed: () {
        // Handle share action
      },
    ),
  ],
)

License #

MIT License

Contributions #

Contributions are welcome! Open an issue or submit a pull request.

0
likes
140
points
191
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that provides customizable floating action buttons and animated speed dial menus for quick access to multiple actions.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on app_float_button