getElementError method
Implementation
Widget getElementError(BuildContext context, dynamic error) {
return Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
IconButton(
icon: Icon(Icons.refresh, color: Colors.red),
onPressed: load,
)
],
);
}