Use Catalog approach for all widgets
This commit is contained in:
parent
e657dc2ecd
commit
f0ae9a0c38
30 changed files with 1134 additions and 919 deletions
|
|
@ -60,7 +60,7 @@ impl Gradient {
|
|||
} = *self;
|
||||
|
||||
let gradient_box = container(horizontal_space())
|
||||
.style(move |_theme, _status| {
|
||||
.style(move |_theme| {
|
||||
let gradient = gradient::Linear::new(angle)
|
||||
.add_stop(0.0, start)
|
||||
.add_stop(1.0, end);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue