onError method
- dynamic context,
- Object error
Implementation
Widget onError(BuildContext context, Object error) {
return Column(
children: [
Text(L10n.of(context).attachments),
Text(L10n.of(context).loadingFailed(error)),
],
);
}