pub struct TimePickerStrings {Show 13 fields
pub dial_help: String,
pub input_help: String,
pub hour_label: String,
pub minute_label: String,
pub invalid_time: String,
pub am: String,
pub pm: String,
pub cancel: String,
pub confirm: String,
pub dial_mode_tooltip: String,
pub input_mode_tooltip: String,
pub hour_mode_announcement: String,
pub minute_mode_announcement: String,
}Expand description
Every user-visible string the picker needs, defaulted to Flutter’s own
English MaterialLocalizations values — see the module docs’
Strings.
Fields§
§dial_help: StringHelp line above the dial (timePickerDialHelpText).
input_help: StringHelp line above the entry form (timePickerInputHelpText).
hour_label: StringHour field label (timePickerHourLabel).
minute_label: StringMinute field label (timePickerMinuteLabel).
invalid_time: StringError shown under a malformed field (invalidTimeLabel).
am: StringAM abbreviation (anteMeridiemAbbreviation).
pm: StringPM abbreviation (postMeridiemAbbreviation).
cancel: StringCancel action (cancelButtonLabel).
confirm: StringConfirm action (okButtonLabel).
dial_mode_tooltip: StringTooltip on the toggle that switches to the dial (dialModeButtonLabel).
input_mode_tooltip: StringTooltip on the toggle that switches to text entry
(inputTimeModeButtonLabel).
hour_mode_announcement: StringAnnounced while the ring edits hours (timePickerHourModeAnnouncement).
minute_mode_announcement: StringAnnounced while the ring edits minutes
(timePickerMinuteModeAnnouncement).
Trait Implementations§
Source§impl Clone for TimePickerStrings
impl Clone for TimePickerStrings
Source§impl Debug for TimePickerStrings
impl Debug for TimePickerStrings
Source§impl Default for TimePickerStrings
impl Default for TimePickerStrings
impl Eq for TimePickerStrings
Source§impl PartialEq for TimePickerStrings
impl PartialEq for TimePickerStrings
impl StructuralPartialEq for TimePickerStrings
Auto Trait Implementations§
impl Freeze for TimePickerStrings
impl RefUnwindSafe for TimePickerStrings
impl Send for TimePickerStrings
impl Sync for TimePickerStrings
impl Unpin for TimePickerStrings
impl UnsafeUnpin for TimePickerStrings
impl UnwindSafe for TimePickerStrings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<T> Brush for T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.