withoutFallbacks<T> static method
T
withoutFallbacks<T>(
- T callback()
Implementation
static T withoutFallbacks<T>(T Function() callback) {
if (!_fallbackFontsEnabled) {
return callback();
} else {
_fallbackFontsEnabled = false;
final result = callback();
_fallbackFontsEnabled = true;
return result;
}
}