pysepal.sepalwidgets.app.AppBar#
- class pysepal.sepalwidgets.app.AppBar(*args, **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.
theme_toggle (ThemeToggle)
Attributes
themeThe theme selector of all apps
toogle_buttonThe btn to display or hide the drawer to the user
titleThe widget containing the app title
localeThe locale selector of all apps
Methods
- AppBar.__init__(title='SEPAL module', translator=None, theme_toggle=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.
theme_toggle (ThemeToggle | None)
- Return type:
None