NotiListHeader constructor

const NotiListHeader({
  1. Key? key,
  2. double height = 48.0,
  3. double buttonHeight = 36.0,
  4. EdgeInsets buttonMargin = const EdgeInsets.only(left: 5, right: 5),
  5. VoidCallback? onTapSearch,
  6. bool isSearching = false,
  7. double buttonRadius = 20,
  8. required NotiTileType selectedType,
  9. required VoidCallback onTapAll,
  10. required VoidCallback onTapAlert,
  11. required VoidCallback onTapNormal,
  12. required VoidCallback onTapChatting,
})

Implementation

const NotiListHeader({
  Key? key,
  this.height = 48.0,
  this.buttonHeight = 36.0,
  this.buttonMargin = const EdgeInsets.only(left: 5, right: 5),
  this.onTapSearch,
  this.isSearching = false,
  this.buttonRadius = 20,
  required this.selectedType,
  required this.onTapAll,
  required this.onTapAlert,
  required this.onTapNormal,
  required this.onTapChatting,
}) : super(key: key);