buildCupertinoWidget method
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 ?? [],
elevation: elevation,
backgroundColor: backgroundColor,
systemOverlayStyle:
systemOverlayStyle ?? AppBarTheme.of(context).systemOverlayStyle,
),
);
}