colorMaterialTheme method

ThemeData colorMaterialTheme(
  1. ThemeData arcane,
  2. ThemeData theme
)

Implementation

m.ThemeData colorMaterialTheme(ThemeData arcane, m.ThemeData theme) => theme.copyWith(
    colorScheme: theme.colorScheme.copyWith(surface: arcane.colorScheme.background),
    pageTransitionsTheme: m.PageTransitionsTheme(builders: {
      ...Map.fromEntries(
        m.TargetPlatform.values.map((e) => MapEntry(e, const m.ZoomPageTransitionsBuilder(allowSnapshotting: true, allowEnterRouteSnapshotting: true))),
      ),
      // TargetPlatform.iOS: const m.CupertinoPageTransitionsBuilder(),
    }));