native_drag_n_drop 0.0.5 copy "native_drag_n_drop: ^0.0.5" to clipboard
native_drag_n_drop: ^0.0.5 copied to clipboard

A package that allows you to add native drag and drop support into your flutter app.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:native_drag_n_drop/native_drag_n_drop.dart';
import 'package:native_drag_n_drop_example/src/home_view.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  bool loadingData = false;
  List<DropData> receivedData = [];
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(home: HomeView());
  }
}
81
likes
130
pub points
63%
popularity

Publisher

verified publisheralexrabin.com

A package that allows you to add native drag and drop support into your flutter app.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on native_drag_n_drop