onError method

dynamic onError(
  1. dynamic context,
  2. Object error
)

Implementation

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