cleanup
This commit is contained in:
parent
5d1dfc4c54
commit
af20ecc833
1 changed files with 4 additions and 4 deletions
|
|
@ -3,21 +3,21 @@ pub mod linear;
|
||||||
pub mod style;
|
pub mod style;
|
||||||
|
|
||||||
/// A spinner / throbber widget that can be used to indicate that some operation is in progress.
|
/// A spinner / throbber widget that can be used to indicate that some operation is in progress.
|
||||||
pub fn indeterminate_circular<Message>() -> circular::Circular<crate::Theme> {
|
pub fn indeterminate_circular() -> circular::Circular<crate::Theme> {
|
||||||
circular::Circular::new()
|
circular::Circular::new()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A linear throbber widget that can be used to indicate that some operation is in progress.
|
/// A linear throbber widget that can be used to indicate that some operation is in progress.
|
||||||
pub fn indeterminate_linear<Message>() -> linear::Linear<crate::Theme> {
|
pub fn indeterminate_linear() -> linear::Linear<crate::Theme> {
|
||||||
linear::Linear::new()
|
linear::Linear::new()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A circular progress spinner widget that can be used to indicate the progress of some operation.
|
/// A circular progress spinner widget that can be used to indicate the progress of some operation.
|
||||||
pub fn determinate_circular<Message>(progress: f32) -> circular::Circular<crate::Theme> {
|
pub fn determinate_circular(progress: f32) -> circular::Circular<crate::Theme> {
|
||||||
circular::Circular::new().progress(progress)
|
circular::Circular::new().progress(progress)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A linear progress bar widget that can be used to indicate the progress of some operation.
|
/// A linear progress bar widget that can be used to indicate the progress of some operation.
|
||||||
pub fn determinate_linear<Message>(progress: f32) -> linear::Linear<crate::Theme> {
|
pub fn determinate_linear(progress: f32) -> linear::Linear<crate::Theme> {
|
||||||
linear::Linear::new().progress(progress)
|
linear::Linear::new().progress(progress)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue