setupAppBar method
Future<AppBarModel>
setupAppBar(
- String? documentID,
- String? title, {
- BackgroundModel? backgroundOverride,
- RgbModel? iconColorOverride,
- RgbModel? selectedIconColorOverride,
})
Implementation
Future<AppBarModel> setupAppBar(
String? documentID, MenuDefModel? menu, String? title,
{BackgroundModel? backgroundOverride,
RgbModel? iconColorOverride,
RgbModel? selectedIconColorOverride,
RgbModel? menuBackgroundColorOverride}) async {
return await mainrepo.AbstractRepositorySingleton.singleton
.appBarRepository(theApp.documentID)!
.add(_appBar(documentID, menu, title,
backgroundOverride: backgroundOverride,
iconColorOverride: iconColorOverride,
selectedIconColorOverride: selectedIconColorOverride,
menuBackgroundColorOverride: menuBackgroundColorOverride));
}