bottomSheetStyle method
Implementation
PopupProps<T> bottomSheetStyle(BuildContext context) {
return PopupProps.bottomSheet(
title: title,
showSearchBox: showSearchBox,
bottomSheetProps: BottomSheetProps(
enableDrag: true,
showDragHandle: true,
backgroundColor: THelperFunctions.isDarkMode(context) ? TColors().darkBackground : Colors.white,
),
searchDelay: searchDelay ?? Duration.zero,
searchFieldProps: _searchFieldProps(),
emptyBuilder: (context, searchEntry) => Center(child: Text(noResultsText)),
loadingBuilder: (context, msg) => Center(child: loadingIndicator),
);
}