FFDefaultAppBar constructor
FFDefaultAppBar({
- FFAppBar_TemplateType? templateType,
- FFColor? backgroundColor,
- FFDim? height,
- double? elevation,
- FFIcon? defaultIcon,
- FFText? textStyle,
- bool? addOnNewPages,
- FFEditMetadata? editMetadata,
- FFResponsiveVisibility? responsiveVisibility,
- @Deprecated('This field is deprecated.') bool? legacyHasMigratedOld,
- @Deprecated('This field is deprecated.') bool? legacyHasMigrated,
Implementation
factory FFDefaultAppBar({
FFAppBar_TemplateType? templateType,
FFColor? backgroundColor,
FFDim? height,
$core.double? elevation,
FFIcon? defaultIcon,
FFText? textStyle,
$core.bool? addOnNewPages,
FFEditMetadata? editMetadata,
FFResponsiveVisibility? responsiveVisibility,
@$core.Deprecated('This field is deprecated.')
$core.bool? legacyHasMigratedOld,
@$core.Deprecated('This field is deprecated.')
$core.bool? legacyHasMigrated,
}) {
final result = create();
if (templateType != null) result.templateType = templateType;
if (backgroundColor != null) result.backgroundColor = backgroundColor;
if (height != null) result.height = height;
if (elevation != null) result.elevation = elevation;
if (defaultIcon != null) result.defaultIcon = defaultIcon;
if (textStyle != null) result.textStyle = textStyle;
if (addOnNewPages != null) result.addOnNewPages = addOnNewPages;
if (editMetadata != null) result.editMetadata = editMetadata;
if (responsiveVisibility != null)
result.responsiveVisibility = responsiveVisibility;
if (legacyHasMigratedOld != null)
result.legacyHasMigratedOld = legacyHasMigratedOld;
if (legacyHasMigrated != null) result.legacyHasMigrated = legacyHasMigrated;
return result;
}