getPlatform method

  1. @override
TargetPlatform getPlatform(
  1. BuildContext context
)
override

The platform whose scroll physics should be implemented.

Defaults to the current platform.

Implementation

@override
TargetPlatform getPlatform(BuildContext context) => Theme.of(context).platform;