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: this.leading,
        leadingOnPressed: leadingOnPressed,
        tintColor: tintColor,
      ),
      title: title,
      actions: actions == null ? [] : actions,
      elevation: elevation,
      backgroundColor: backgroundColor,
      centerTitle: centerTitle,
      floating: floating,
      pinned: pinned,
      expandedHeight: expandedHeight,
      flexibleSpace: flexibleSpace,
      systemOverlayStyle: systemOverlayStyle,
    ),
  );
}