merge method

  1. @override
FormStyle merge(
  1. FormStyle? theme
)

Implementation

@override
FormStyle merge(FormStyle? theme) {
  if (theme == null) {
    return this;
  }

  return copyWith(
    appBar: theme.appBar,
    backgroundColor: theme.backgroundColor,
    cardMargin: theme.cardMargin,
    cardPadding: theme.cardPadding,
    margin: theme.margin,
  );
}