PageTransitionsTheme constructor Null safety

const PageTransitionsTheme(
  1. {Map<TargetPlatform, PageTransitionsBuilder> builders = _defaultBuilders}
)

Constructs an object that selects a transition based on the platform.

By default the list of builders is: ZoomPageTransitionsBuilder for TargetPlatform.android, and CupertinoPageTransitionsBuilder for TargetPlatform.iOS and TargetPlatform.macOS.

Implementation

const PageTransitionsTheme({ Map<TargetPlatform, PageTransitionsBuilder> builders = _defaultBuilders }) : _builders = builders;