diff --git a/lib/tools/titleAppBar.dart b/lib/tools/titleAppBar.dart index 57c8265f..c6f3e263 100755 --- a/lib/tools/titleAppBar.dart +++ b/lib/tools/titleAppBar.dart @@ -17,6 +17,7 @@ class TitleAppBar extends AppBar { final bool? haveOtherLeftWidget; final Widget? leftWidget; List? actionsList; + final double? leadingWidth; TitleAppBar( {Key? key, @@ -30,6 +31,7 @@ class TitleAppBar extends AppBar { this.haveBack, this.backAction, this.haveOtherLeftWidget = false, + this.leadingWidth, this.leftWidget}) : super(key: key); @@ -42,6 +44,7 @@ class _TitleAppBarState extends State { Widget build(BuildContext context) { return AppBar( elevation: 0, + leadingWidth: widget.leadingWidth, leading: widget.haveOtherLeftWidget! ? widget.leftWidget : (widget.haveBack ?? false