FLUTTER ECOSYSTEM

shadabunique/flutter_draggable_fab

一個 Flutter 小部件

flutter_draggable_fab 專案封面
Stars
10
Forks
14
最近推送(UTC)
2023年8月4日
專案狀態
未封存
Shadab Ansari GitHub avatar
GITHUB User

Shadab Ansari ↗

語言DartShellSwiftKotlinObjective-C

此儲存庫發佈的套件

使用的依賴

依賴清單 2 項
  • flutter{"sdk":"flutter"}
  • flutter_test開發依賴{"sdk":"flutter"}

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 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