0 purchases
draggable button
Draggable Button #
A great addition to any application,
A smoothly moving button within the application that the user can interact with and place anywhere on the screen.
Getting Started #
To install, add it to your pubspec.yaml file:
dependencies:
draggable_button:
copied to clipboard
import 'package:draggable_button/draggable_button.dart';
copied to clipboard
Usage/Examples #
import 'package:draggable_button/draggable_button.dart';
return Scaffold(
appBar: AppBar(),
body: Stack(
children: [
DraggableButton(
color: Colors.white,
size: 80,
radius: 100,
defaultPosition: const Offset(0.0, 0.0),
onTap: (){},
child: const Icon(Icons.phone,color: Colors.white,),
)
],
),
);
copied to clipboard
Screenshots #
Support #
For support, email [email protected] .
Follow me at Instagram #
Instagram : https://instagram.com/m9_6m?igshid=YTQwZjQ0NmI0OA==
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.