getPlatform method Null safety
- BuildContext context
The platform whose scroll physics should be implemented.
Defaults to the current platform.
Implementation
TargetPlatform getPlatform(BuildContext context) => defaultTargetPlatform;
The platform whose scroll physics should be implemented.
Defaults to the current platform.
TargetPlatform getPlatform(BuildContext context) => defaultTargetPlatform;