fix(doc): fix broken documentation snippets

This commit is contained in:
Efthymis Sarmpanis
2023-10-11 15:05:12 +03:00
parent 31950419ee
commit b4dc9defd1
33 changed files with 222 additions and 188 deletions
@@ -28,13 +28,13 @@ and send messages.
```dart
class ChannelPage extends StatelessWidget {
const ChannelPage({
Key key,
}) : super(key: key);
super.key,
});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: StreaChannelHeader(),
appBar: const StreamChannelHeader(),
body: Column(
children: <Widget>[
Expanded(
@@ -46,7 +46,7 @@ class ChannelPage extends StatelessWidget {
},
),
),
StreamMessageInput(),
const StreamMessageInput(),
],
),
);