draggable_button 0.0.1 copy "draggable_button: ^0.0.1" to clipboard
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 #

App Screenshot

App Screenshot

Support #

For support, email info@mohammed-aljaf.com .

Follow me at Instagram #

Instagram : https://instagram.com/m9_6m?igshid=YTQwZjQ0NmI0OA==

3
likes
120
points
119
downloads

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitLab)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, shared_preferences

More

Packages that depend on draggable_button