The type of the widgets is already a Button so there's no need in repeating that in the struct field. Also remove some type annotations since the compiler can infer them from the type of the struct fields.
The type of the widgets is already a Button so there's no need in repeating that in the struct field. Also remove some type annotations since the compiler can infer them from the type of the struct fields.