Skip to content

A transfer list enables the user to move one or more list items to and fro.

License

Notifications You must be signed in to change notification settings

SanjaySodani/transfer_list

Repository files navigation

A simple transfer list enables the user to move one or more list items to and fro.

Features

Transfer List demo

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 ['Lion', 'Tiger', 'Fox' , 'Wolf'],
  onChange: (leftList, rightList) {
    // your logic
  },
  listBackgroundColor: Colors.black12,
  textStyle: const TextStyle(color: Colors.black),
),

Parameters

Parameter Name Description
leftList Initial items on left list
rightList Initial items on right list
onChange callback, passes new left and right list
checkboxFillColor checkbox fill color
tileSplashColor splash color on the list tile
listBackgroundColor background color of the list containers
textStyle text style of text on list tile
height widget height
width widget width

About

A transfer list enables the user to move one or more list items to and fro.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published