colorMaterialTheme method
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(),
}));