getPlatform method

TargetPlatform getPlatform(
  1. BuildContext context
)

The platform whose scroll physics should be implemented.

Defaults to the current platform.

Implementation

TargetPlatform getPlatform(BuildContext context) => defaultTargetPlatform;