transfer_list 0.0.1
transfer_list: ^0.0.1 copied to clipboard
A transfer list enables the user to move one or more list items to and fro.
A transfer list enables the user to move one or more list items to and fro.
Getting started #
- Add the package in your flutter project.
- Import the package
import 'package:transfer_list/transfer_list.dart';.
Usage #
TransferList(
leftList: const ['Dog', 'Cat', 'Mouse', 'Rabbit'],
rightList: const [],
onChange: (leftList, rightList) {
// your logic
},
listBackgroundColor: Colors.black12,
textStyle: const TextStyle(color: Colors.black),
),