TargetPlatform platform

Returns the style of scrolling to use.

By default, defers to the nearest ScrollConfiguration.

Source

TargetPlatform get platform => ScrollConfiguration.of(context)?.platform;