copyWith method
FxScaffoldStyle
copyWith({
- bool? primary,
- bool? extendBody,
- FxSafeAreaInsets? safeArea,
- EdgeInsetsGeometry? padding,
- 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,
);