EditableList constructor
const EditableList(
- {Mode mode = Mode.view,
- DataFunction? listData,
- required String title,
- dynamic onDelete(
- BuildContext context,
- List itemsToDelete
)?,
- required String noItemsTitle,
- required String noItemsSummary,
- IconData? noItemsIcon,
- GlobalKey<State<StatefulWidget>>? key,
- dynamic onRestore(
- BuildContext context,
- List itemsToRestore
)?,
- OnModeChanged? onModeChanged,
- Widget cellBuilder(
- BuildContext,
- dynamic,
- dynamic (
- dynamic
)?
)?}
)
Implementation
const EditableList(
{this.mode = Mode.view,
this.listData,
required this.title,
this.onDelete,
required this.noItemsTitle,
required this.noItemsSummary,
this.noItemsIcon,
GlobalKey<State<StatefulWidget>>? key,
this.onRestore,
this.onModeChanged,
this.cellBuilder})
: super(key: key);