appBarWithString method

  1. @override
PreferredSizeWidget appBarWithString(
  1. AppModel app,
  2. BuildContext context, {
  3. required String title,
  4. List<Widget>? actions,
  5. IconThemeData? iconTheme,
  6. BackgroundModel? backgroundOverride,
})
override

Implementation

@override
PreferredSizeWidget appBarWithString(AppModel app, BuildContext context,
    {required String title,
    List<Widget>? actions,
    IconThemeData? iconTheme,
    BackgroundModel? backgroundOverride}) {
  return appBarWithWidget(app, context,
      title: Text(title,
          style: TextStyle(
              color: RgbHelper.color(
                  rgbo:
                      _monaStyle.monaStyleAttributesModel.appBarIconColor))),
      actions: actions,
      iconTheme: iconTheme,
      backgroundOverride: backgroundOverride);
}