update sample app with new api

This commit is contained in:
Neevash Ramdial
2021-01-27 22:30:49 -04:00
parent e7d68aa36a
commit 24d528fc79
@@ -222,6 +222,16 @@ class _MessageScreenState extends State<MessageScreen> {
},
);
},
errorWidgetBuilder: (BuildContext context, error) {
print(error?.toString());
return Center(
child: SizedBox(
height: 100.0,
width: 100.0,
child: Text('Oh no, an error occured. Please see logs.'),
),
);
},
),
),
Padding(