MaterialBasedCupertinoThemeData constructor

MaterialBasedCupertinoThemeData({
  1. required ThemeData materialTheme,
})

Create a MaterialBasedCupertinoThemeData based on a Material ThemeData and its cupertinoOverrideTheme.

Implementation

MaterialBasedCupertinoThemeData({
  required ThemeData materialTheme,
}) : this._(
  materialTheme,
  (materialTheme.cupertinoOverrideTheme ?? const CupertinoThemeData()).noDefault(),
);