build method

  1. @override
dynamic build(
  1. dynamic context,
  2. dynamic ref
)

Implementation

@override
Widget build(BuildContext context, WidgetRef ref) {
  return OrientationBuilder(
    builder: (context, orientation) => Scaffold(
      resizeToAvoidBottomInset: orientation == Orientation.portrait,
      body: Column(
        children: [
          appBar(context, ref),
          ChatRoom(roomId: roomId),
          chatInput(context, ref),
        ],
      ),
    ),
  );
}