loading property

bool? loading
final

Indicates if the switch is currently loading.

If set to null, the switch is loading automatically when a Future is returned by onChanged or onTap.

Implementation

final bool? loading;