buildCupertinoWidget method
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,
),
);
}