custom static method

Implementation

static ImpaktfullTheme custom({
  required ImpaktfullColorTheme colors,
  ImpaktfullShadowTheme? shadows,
  ImpaktfullBorderTheme? borders,
  ImpaktfullTextStylesTheme? textStyles,
  ImpaktfullAssets? assets,
  ImpaktfullDimens? dimens,
  ImpaktfullDurations? durations,
  ImpaktfullComponentsTheme? components,
  ImpaktfullLocalizations? localizations,
  InteractiveInkFeatureFactory? splashFactory,
}) =>
    ImpaktfullTheme(
      colors: colors,
      shadows: shadows ??
          ImpaktfullShadowTheme.getDefaults(
            accent1: colors.accent1,
          ),
      borders: borders ??
          ImpaktfullBorderTheme.getDefaults(
            accent1: colors.accent1,
          ),
      textStyles: textStyles ?? ImpaktfullTextStylesTheme.getDefaults(),
      assets: assets ?? ImpaktfullAssets.getDefaults(),
      dimens: dimens ?? ImpaktfullDimens.getDefaults(),
      components: components ?? ImpaktfullComponentsTheme.getDefaults(),
      durations: durations ?? ImpaktfullDurations.getDefaults(),
      localizations: localizations ?? ImpaktfullLocalizations.getDefaults(),
      splashFactory:
          splashFactory ?? ImpaktfullThemeConfig.defaultSplashFactory,
    );