FFScaffold constructor

FFScaffold({
  1. @Deprecated('This field is deprecated.') Int64? legacyLegacyBackgroundColor,
  2. bool? safeArea,
  3. @Deprecated('This field is deprecated.') FFAppBar? appBar,
  4. FFNavBarItem? navBarItem,
  5. FFColor? legacyBackgroundColor,
  6. bool? hideKeyboardOnTap,
  7. bool? disableAndroidBackButton,
  8. FFColorValue? backgroundColorValue,
  9. bool? disableResizeToAvoidBottomInset,
  10. bool? excludeBackgroundDismissFromSemantics,
})

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,
  $core.bool? excludeBackgroundDismissFromSemantics,
}) {
  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;
  if (excludeBackgroundDismissFromSemantics != null)
    result.excludeBackgroundDismissFromSemantics =
        excludeBackgroundDismissFromSemantics;
  return result;
}