master #81

Closed
malo wants to merge 322 commits from master into feat/bloc_layout/new-package
3 changed files with 7 additions and 0 deletions
Showing only changes of commit 4811ed8998 - Show all commits

View File

@ -16,12 +16,15 @@ class $CustomAppBarCWProxyImpl implements $AppBarComponentCWProxy {
@override @override
CustomAppBar actions(List<Widget>? actions) => this(actions: actions); CustomAppBar actions(List<Widget>? actions) => this(actions: actions);
@override @override
CustomAppBar centerTitle(bool? centerTitle) => this(centerTitle: centerTitle);
@override
CustomAppBar key(Key? key) => this(key: key); CustomAppBar key(Key? key) => this(key: key);
@override @override
CustomAppBar call({ CustomAppBar call({
TextWrapper? title, TextWrapper? title,
Widget? leading, Widget? leading,
List<Widget>? actions, List<Widget>? actions,
bool? centerTitle,
Key? key, Key? key,
}) => }) =>
CustomAppBar( CustomAppBar(

View File

@ -27,9 +27,11 @@ abstract class AppBarComponent extends Component
this.title, this.title,
this.leading, this.leading,
this.actions, this.actions,
this.centerTitle,
super.key, super.key,
}); });
final TextWrapper? title; final TextWrapper? title;
final bool? centerTitle;
final Widget? leading; final Widget? leading;
final List<Widget>? actions; final List<Widget>? actions;
} }

View File

@ -10,11 +10,13 @@ abstract class $AppBarComponentCWProxy {
AppBarComponent title(TextWrapper? title); AppBarComponent title(TextWrapper? title);
AppBarComponent leading(Widget? leading); AppBarComponent leading(Widget? leading);
AppBarComponent actions(List<Widget>? actions); AppBarComponent actions(List<Widget>? actions);
AppBarComponent centerTitle(bool? centerTitle);
AppBarComponent key(Key? key); AppBarComponent key(Key? key);
AppBarComponent call({ AppBarComponent call({
TextWrapper? title, TextWrapper? title,
Widget? leading, Widget? leading,
List<Widget>? actions, List<Widget>? actions,
bool? centerTitle,
Key? key, Key? key,
}); });
} }