getPlatform method

TargetPlatform getPlatform (BuildContext context)

The platform whose scroll physics should be implemented.

Defaults to the current platform.

Implementation

TargetPlatform getPlatform(BuildContext context) => defaultTargetPlatform;