createAppBar method
创建导航栏
Implementation
PreferredSize? createAppBar(
BuildContext context, {
Color? navbackcolor,
String? title,
}) {
if (title != null) {
return AppBarGenerator.getNoramlAppBar(
context: context,
title: title,
backgroundColor: navbackcolor,
actions: createAppBaractions(),
leading: createAppBarleading(),
textColor: createAppBarTextColor(),
leadingIconColor: createLeadingIconColor(),
leadingCallback: () {
configleadingCallbak(context);
},
titlew: createAppBarTitleWidget(),
bottom: createAppBarBottomWidget(),
);
}
return null;
}