appBar method
Custom app bar for the picker. 选择器自定义的顶栏
Implementation
@override
AssetPickerAppBar appBar(BuildContext context) {
final AssetPickerAppBar appBar = AssetPickerAppBar(
title: Semantics(
onTapHint: semanticsTextDelegate.sActionSwitchPathLabel,
child: pathEntitySelector(context),
),
leading: backButton(context),
blurRadius: isAppleOS(context) ? appleOSBlurRadius : 0,
);
appBarPreferredSize ??= appBar.preferredSize;
return appBar;
}