sepal_ui.sepalwidgets.app.AppBar#
- class sepal_ui.sepalwidgets.app.AppBar(**kwargs)[source]#
Custom AppBar widget with the provided title using the sepal color framework.
- Parameters:
title (ToolbarTitle | None) – the title of the app
translator (Translator | None) – the app translator to pass to the locale selector object
kwargs (optional) – any parameters from a v.AppBar. If set, ‘children’ and ‘app’ will be overwritten.
Attributes
theme
The theme selector of all apps
toogle_button
The btn to display or hide the drawer to the user
title
The widget containing the app title
locale
The locale selector of all apps
Methods
Custom AppBar widget with the provided title using the sepal color framework.
Set the title of the appBar.
- AppBar.__init__(title='SEPAL module', translator=None, **kwargs)[source]#
Custom AppBar widget with the provided title using the sepal color framework.
- Parameters:
title (str) – the title of the app
translator (Translator | None) – the app translator to pass to the locale selector object
kwargs (optional) – any parameters from a v.AppBar. If set, ‘children’ and ‘app’ will be overwritten.
- Return type:
None