showChatBottomSheet method

void showChatBottomSheet(
  1. RtcViewmodel viewmodel,
  2. String identity,
  3. String name
)

Implementation

void showChatBottomSheet(
    RtcViewmodel viewmodel, String identity, String name) {
  Navigator.of(context).push(MaterialPageRoute<Null>(
      builder: (BuildContext context) {
        return ChatController(
          identity: identity,
          name: name,
          viewModel: viewmodel,
        );
      },
      fullscreenDialog: true));
}