提交 6e3e99ff authored 作者: shixiaochen's avatar shixiaochen

1、SearchAppBar增加leadingWidth属性

上级 96767c85
......@@ -27,4 +27,6 @@
## 1.1.3
* 修改base_dio 去除基础bean类,修改为直接解析返回数据
## 1.1.4
* 修复BaseListWidget多次触发自动刷新无反应问题
\ No newline at end of file
* 修复BaseListWidget多次触发自动刷新无反应问题
* ## 1.1.5
* SearchAppBar增加leadingWidth属性
\ No newline at end of file
......@@ -22,6 +22,7 @@ class SearchAppBar extends StatefulWidget implements PreferredSizeWidget {
final EdgeInsetsGeometry? margin;
final bool automaticallyImplyLeading;
final TextEditingController? textEditingController;
final double? leadingWidth;
const SearchAppBar({
Key? key,
......@@ -44,6 +45,7 @@ class SearchAppBar extends StatefulWidget implements PreferredSizeWidget {
this.margin,
this.automaticallyImplyLeading = true,
this.textEditingController,
this.leadingWidth,
}) : super(key: key);
@override
......@@ -80,6 +82,7 @@ class _SearchAppBarState extends State<SearchAppBar> {
titleSpacing: 0.0,
primary: widget.primary,
leading: widget.leading,
leadingWidth: widget.leadingWidth,
automaticallyImplyLeading: widget.automaticallyImplyLeading,
title: Row(
children: <Widget>[
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论