FFScaffold constructor
FFScaffold({
- @Deprecated('This field is deprecated.') Int64? legacyLegacyBackgroundColor,
- bool? safeArea,
- @Deprecated('This field is deprecated.') FFAppBar? appBar,
- FFColor? legacyBackgroundColor,
- bool? hideKeyboardOnTap,
- bool? disableAndroidBackButton,
- FFColorValue? backgroundColorValue,
- bool? disableResizeToAvoidBottomInset,
Implementation
factory FFScaffold({
@$core.Deprecated('This field is deprecated.')
$fixnum.Int64? legacyLegacyBackgroundColor,
$core.bool? safeArea,
@$core.Deprecated('This field is deprecated.') FFAppBar? appBar,
FFNavBarItem? navBarItem,
FFColor? legacyBackgroundColor,
$core.bool? hideKeyboardOnTap,
$core.bool? disableAndroidBackButton,
FFColorValue? backgroundColorValue,
$core.bool? disableResizeToAvoidBottomInset,
}) {
final result = create();
if (legacyLegacyBackgroundColor != null)
result.legacyLegacyBackgroundColor = legacyLegacyBackgroundColor;
if (safeArea != null) result.safeArea = safeArea;
if (appBar != null) result.appBar = appBar;
if (navBarItem != null) result.navBarItem = navBarItem;
if (legacyBackgroundColor != null)
result.legacyBackgroundColor = legacyBackgroundColor;
if (hideKeyboardOnTap != null) result.hideKeyboardOnTap = hideKeyboardOnTap;
if (disableAndroidBackButton != null)
result.disableAndroidBackButton = disableAndroidBackButton;
if (backgroundColorValue != null)
result.backgroundColorValue = backgroundColorValue;
if (disableResizeToAvoidBottomInset != null)
result.disableResizeToAvoidBottomInset = disableResizeToAvoidBottomInset;
return result;
}