drag_and_drop_lists 0.3.3 copy "drag_and_drop_lists: ^0.3.3" to clipboard
drag_and_drop_lists: ^0.3.3 copied to clipboard

outdated

A flutter package to allow drag-and-drop reordering of two-level lists.

example/lib/main.dart

import 'package:example/basic_example.dart';
import 'package:example/drag_handle_example.dart';
import 'package:example/drag_into_list_example.dart';
import 'package:example/expansion_tile_example.dart';
import 'package:example/fixed_example.dart';
import 'package:example/horizontal_example.dart';
import 'package:example/list_tile_example.dart';
import 'package:example/sliver_example.dart';
import 'package:flutter/material.dart';

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Drag and Drop Lists',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      initialRoute: '/',
      routes: {
        '/': (context) => const BasicExample(),
        '/list_tile_example': (context) => const ListTileExample(),
        '/expansion_tile_example': (context) => const ExpansionTileExample(),
        '/sliver_example': (context) => const SliverExample(),
        '/horizontal_example': (context) => const HorizontalExample(),
        '/drag_into_list_example': (context) => const DragIntoListExample(),
        '/fixed_example': (context) => const FixedExample(),
        '/drag_handle_example': (context) => const DragHandleExample(),
      },
    );
  }
}
413
likes
0
pub points
96%
popularity

Publisher

unverified uploader

A flutter package to allow drag-and-drop reordering of two-level lists.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on drag_and_drop_lists