of static method
Retrieves the ambient AlterDevice, defaulting to AlterDevice.pc if none is found.
Implementation
static AlterDevice of(BuildContext context) {
return maybeOf(context) ?? AlterDevice.pc;
}
Retrieves the ambient AlterDevice, defaulting to AlterDevice.pc if none is found.
static AlterDevice of(BuildContext context) {
return maybeOf(context) ?? AlterDevice.pc;
}