effectiveType method
Returns the effective target type based on the current platform.
When running in a browser, material is enforced regardless of platform
.
Implementation
TargetType effectiveType(TargetPlatform platform) {
if (this != adaptive) return this;
if (kIsWeb) return material;
return platform == TargetPlatform.iOS || platform == TargetPlatform.macOS
? human
: material;
}