Initial implementation of Expander widget

This commit is contained in:
Eduardo Flores 2022-10-08 21:38:30 -07:00 committed by Michael Murphy
parent b092157f26
commit 5949eb8d89
4 changed files with 111 additions and 8 deletions

View file

@ -321,14 +321,14 @@ where
Renderer: iced_native::Renderer + 'a,
Renderer::Theme: StyleSheet,
{
fn from(row: NavBar<'a, Message, Renderer>) -> Self {
Self::new(row)
fn from(navbar: NavBar<'a, Message, Renderer>) -> Self {
Self::new(navbar)
}
}
/// Creates a [Row`] with the given children.
/// Creates a [NavBar`] with the given children.
///
/// [`Row`]: widget::Row
/// [`NavBar`]: widget::NavBar
#[macro_export]
macro_rules! navbar {
($($x:expr),+ $(,)?) => (