buildCupertinoWidget method

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

Implementation

@override
PreferredSize buildCupertinoWidget(BuildContext context) {
  return PreferredSize(
    preferredSize: Size.fromHeight(screenToolbarHeightDp),
    child: SliverAppBar(
      leading: _buildLeading(
        context: context,
        leading: leading,
        leadingOnPressed: leadingOnPressed,
        tintColor: tintColor,
      ),
      title: title,
      actions: actions ?? [],
      elevation: elevation,
      backgroundColor: backgroundColor,
      centerTitle: centerTitle,
      floating: floating,
      pinned: pinned,
      expandedHeight: expandedHeight,
      flexibleSpace: flexibleSpace,
      systemOverlayStyle:
          systemOverlayStyle ?? AppBarTheme.of(context).systemOverlayStyle,
    ),
  );
}