bitErrorView function

Widget bitErrorView(
  1. BitControl bit,
  2. dynamic error
)

Implementation

Widget bitErrorView(BitControl bit, dynamic error) => Center(
        child: _IfTheme(
      orElse: Center(child: WIcon(Icons.alertTriangle)),
      builder: () => ElbeErrorView(
        error: error,
        reload: () => bit.reload(),
      ),
    ));