showChatDialog<T> function
Future<T>
showChatDialog<T>(
- BuildContext context, {
- required List<
ChatDialogItem> items, - String? subTitle,
- String? title,
- Color barrierColor = Colors.black54,
- ChatDialogRectangleBorderType borderType = ChatDialogRectangleBorderType.circular,
Implementation
Future<T> showChatDialog<T>(
BuildContext context, {
required List<ChatDialogItem<dynamic>> items,
String? subTitle,
String? title,
List<String>? hiddenList,
Color barrierColor = Colors.black54,
ChatDialogRectangleBorderType borderType =
ChatDialogRectangleBorderType.circular,
}) async {
return await showDialog(
barrierColor: barrierColor,
context: context,
builder: (context) {
return ChatDialog(
title: title,
subTitle: subTitle,
hiddenList: hiddenList,
items: items,
borderType: borderType,
);
},
);
}