EditableList constructor

const EditableList(
  1. {Mode mode = Mode.view,
  2. DataFunction? listData,
  3. required String title,
  4. dynamic onDelete(
    1. BuildContext context,
    2. List itemsToDelete
    )?,
  5. required String noItemsTitle,
  6. required String noItemsSummary,
  7. IconData? noItemsIcon,
  8. GlobalKey<State<StatefulWidget>>? key,
  9. dynamic onRestore(
    1. BuildContext context,
    2. List itemsToRestore
    )?,
  10. OnModeChanged? onModeChanged,
  11. Widget cellBuilder(
    1. BuildContext,
    2. dynamic,
    3. dynamic (
      1. 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);