build method
- dynamic context,
- 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),
],
),
),
);
}