platformValueNullable<T> method
T?
platformValueNullable<T>({
- T? material,
- T? cupertino,
Returns the platform-appropriate nullable value of type T.
Selects material on Android and cupertino on iOS.
Both values are optional and may be null.
Implementation
T? platformValueNullable<T>({T? material, T? cupertino}) =>
_valueProviderNullable(material: material, cupertino: cupertino);