update sample app with new api
This commit is contained in:
@@ -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(
|
Padding(
|
||||||
|
|||||||
Reference in New Issue
Block a user