isOnline property Null safety

bool isOnline
final

The online status of the screen.

This is used to show a snack bar if the sceen is offline when accessing the preview. This enforces the message that the screen is offline currently.

Implementation

final bool isOnline;