NetworkStatusIcon constructor

NetworkStatusIcon({
  1. required Device device,
  2. required VoidCallback? onPressed,
  3. required String tooltip,
})

A const constructor.

Implementation

NetworkStatusIcon({
  required Device device,
  required this.onPressed,
  required this.tooltip,
}) : super(models.sockets.socketForDevice(device)!.connectionStrength);