ListAppBar<T extends IdItemInterface>.withCustomListState constructor

const ListAppBar<T extends IdItemInterface>.withCustomListState({
  1. Key? key,
  2. Widget? title,
  3. AppBarLeadingType leadingIconType = AppBarLeadingType.Decide,
  4. bool showSelectAllButton = false,
  5. List<Widget?>? appBarButtons,
  6. List<Widget?>? appBarPopupButtons,
  7. bool showCountInDescription = false,
  8. Widget? selectionTitle,
  9. Widget? description,
  10. bool hasSearch = true,
  11. required ListState? customListState,
  12. List<Widget?>? selectionButtons(
    1. BuildContext context,
    2. SelectionState selection
    )?,
  13. List<Widget?>? selectionPopupButtons(
    1. BuildContext context,
    2. SelectionState selection
    )?,
})

Implementation

const ListAppBar.withCustomListState({
  Key? key,
  this.title,
  this.leadingIconType = AppBarLeadingType.Decide,
  this.showSelectAllButton = false,
  this.appBarButtons,
  this.appBarPopupButtons,
  this.showCountInDescription = false,
  this.selectionTitle,
  this.description,
  this.hasSearch = true,
  required this.customListState,
  this.selectionButtons,
  this.selectionPopupButtons,
}) : super(key: key);