buildCupertinoWidget method

  1. @override
PreferredSize buildCupertinoWidget(
  1. BuildContext context
)
override

Implementation

@override
PreferredSize buildCupertinoWidget(BuildContext context) {
  return PreferredSize(
    preferredSize: Size.fromHeight(height ?? screenToolbarHeightDp),
    child: AppBar(
      automaticallyImplyLeading: automaticallyImplyLeading,
      leading: automaticallyImplyLeading
          ? _buildLeading(
              context: context,
              leading: leading,
              leadingOnPressed: leadingOnPressed,
              tintColor: tintColor,
            )
          : null,
      title: title,
      actions: actions == null ? [] : actions,
      elevation: elevation,
      backgroundColor: backgroundColor,
      systemOverlayStyle: systemOverlayStyle,
    ),
  );
}