copyWith method

FxScaffoldStyle copyWith({
  1. bool? primary,
  2. bool? extendBody,
  3. FxSafeAreaInsets? safeArea,
  4. EdgeInsetsGeometry? padding,
  5. SystemUiOverlayStyle? systemUiOverlayStyle,
})

Implementation

FxScaffoldStyle copyWith({
  bool? primary,
  bool? extendBody,
  FxSafeAreaInsets? safeArea,
  EdgeInsetsGeometry? padding,
  SystemUiOverlayStyle? systemUiOverlayStyle,
}) => FxScaffoldStyle(
  extendBody: extendBody ?? this.extendBody,
  extendBodyBehindAppBar: extendBodyBehindAppBar,
  drawerEnableOpenDragGesture: drawerEnableOpenDragGesture,
  endDrawerEnableOpenDragGesture: endDrawerEnableOpenDragGesture,
  resizeToAvoidBottomInset: resizeToAvoidBottomInset,
  backgroundColor: backgroundColor,
  drawerScrimColor: drawerScrimColor,
  drawerEdgeDragWidth: drawerEdgeDragWidth,
  restorationId: restorationId,
  drawerDragStartBehavior: drawerDragStartBehavior,

  primary: primary ?? this.primary,
  safeArea: safeArea ?? this.safeArea,
  padding: padding ?? this.padding,
  systemUiOverlayStyle: systemUiOverlayStyle ?? this.systemUiOverlayStyle,
);