OnlineStatusIcon constructor Null safety
isOnline determines the colour of the circle.
Green if true, or red if false.
Implementation
const OnlineStatusIcon({Key? key, required this.isOnline}) : super(key: key);
isOnline determines the colour of the circle.
Green if true, or red if false.
const OnlineStatusIcon({Key? key, required this.isOnline}) : super(key: key);