SearchHistoryView constructor Null safety

const SearchHistoryView(
  1. {dynamic scrollController,
  2. void onTap(
    1. String
    )?}
)

Implementation

const SearchHistoryView({
  this.scrollController,
  this.onTap,
});