buildBottomSheetButton method

Widget buildBottomSheetButton(
  1. bool isUnread,
  2. dynamic message
)

Implementation

Widget buildBottomSheetButton(bool isUnread, dynamic message) {
  return Positioned(
    bottom: -4,
    right: 0,
    child: IconButton(
      icon: Icon(
        Icons.more_horiz,
        color: Theme.of(context).brightness == Brightness.dark
            ? widget.themeConfig?.darkText ?? Colors.white
            : widget.themeConfig?.lightText ?? Colors.black,
      ),
      onPressed: () {
        showBottomSheet(context, isUnread, message);
      },
    ),
  );
}