FLUTTER ECOSYSTEM

shadabunique/flutter_draggable_fab

A Flutter widget

flutter_draggable_fab project cover
Stars
10
Forks
14
Last push (UTC)
Aug 4, 2023
Project status
Active
Shadab Ansari GitHub avatar
GITHUB User

Shadab Ansari ↗

LanguagesDartShellSwiftKotlinObjective-C

Packages published by this repository

Dependencies used

Dependency list 2 items
  • flutter{"sdk":"flutter"}
  • flutter_testDevelopment{"sdk":"flutter"}

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

draggable_fab

A Draggable FAB wrapper widget which can dragged to any edge of the screen.

Installation

Add draggable_fab: ^0.1.4 in your pubspec.yaml dependencies. And import it:

import 'package:draggable_fab/draggable_fab.dart';

How to use

Create a standalone widget e.g. Floating Action Bar widget :

DraggableFab(
        child: FloatingActionButton(
          onPressed: _incrementCounter,
          child: Icon(Icons.add),
        ),
      );

demo.gif