draggable_button 0.0.1 draggable_button: ^0.0.1 copied to clipboard
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.
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:
import 'package:draggable_button/draggable_button.dart';
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,),
)
],
),
);
Screenshots #
Support #
For support, email info@mohammed-aljaf.com .
Follow me at Instagram #
Instagram : https://instagram.com/m9_6m?igshid=YTQwZjQ0NmI0OA==