widgets/my_app_bar library

Functions

myAppBar({bool canPop = true, Color? backgroundColor, required String title, List<Widget>? actions, Widget? leading, bool? centerTitle, double? leadingWidth, required bool defaultFlexibleSpace, double? toolbarHeight, PreferredSizeWidget? bottom, Function? back}) PreferredSizeWidget
自定义AppBar
searchAppBar({bool canPop = true, Color? backgroundColor, String? hint, dynamic onSubmit(String)?, FocusNode? focusNode, Widget? leading, bool? centerTitle, double? titleWidth, double? titleHeight, List<Widget>? actions, double? leadingWidth, double? toolbarHeight, bool? autoFocus, TextEditingController? textEditingController}) PreferredSizeWidget
搜索appbar