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