pub trait WidgetStatePropertyValue {
const DART_TYPE: &'static str;
// Required method
fn state_property_value(&self) -> String;
}Expand description
The value a WidgetStateProperty resolves to, printed as Dart’s toString and named
as Dart names it inside _WidgetStatePropertyWith<T>.
Required Associated Constants§
Required Methods§
Sourcefn state_property_value(&self) -> String
fn state_property_value(&self) -> String
The value’s Dart toString.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".