feat(segmented_button): Support adding divider above items in vertical segmented button

This commit is contained in:
Jeremy Soller 2024-09-11 12:51:19 -06:00
parent 05da0a83b2
commit 2faaeddb05
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
4 changed files with 44 additions and 2 deletions

View file

@ -95,6 +95,11 @@ where
self
}
pub fn divider_above(mut self) -> Self {
self.model.0.divider_above_set(self.id, true);
self
}
/// Defines an icon for the item.
///
/// ```ignore