pub struct OutlinedButtonIcon { /* private fields */ }Expand description
Dart’s OutlinedButton.icon(..) arguments; the value converts to the OutlinedButton.
Implementations§
Source§impl OutlinedButtonIcon
impl OutlinedButtonIcon
Sourcepub fn key(self, key: KeyRef) -> OutlinedButtonIcon
pub fn key(self, key: KeyRef) -> OutlinedButtonIcon
Dart OutlinedButtonIcon(key:).
Sourcepub fn on_long_press(self, on_long_press: Listener) -> OutlinedButtonIcon
pub fn on_long_press(self, on_long_press: Listener) -> OutlinedButtonIcon
Dart OutlinedButtonIcon(onLongPress:).
Sourcepub fn on_hover(self, on_hover: ValueChanged<bool>) -> OutlinedButtonIcon
pub fn on_hover(self, on_hover: ValueChanged<bool>) -> OutlinedButtonIcon
Dart OutlinedButtonIcon(onHover:).
Sourcepub fn on_focus_change(
self,
on_focus_change: ValueChanged<bool>,
) -> OutlinedButtonIcon
pub fn on_focus_change( self, on_focus_change: ValueChanged<bool>, ) -> OutlinedButtonIcon
Dart OutlinedButtonIcon(onFocusChange:).
Sourcepub fn style(self, style: ButtonStyle) -> OutlinedButtonIcon
pub fn style(self, style: ButtonStyle) -> OutlinedButtonIcon
Dart OutlinedButtonIcon(style:).
Sourcepub fn focus_node(self, focus_node: FocusNodeRef) -> OutlinedButtonIcon
pub fn focus_node(self, focus_node: FocusNodeRef) -> OutlinedButtonIcon
Dart OutlinedButtonIcon(focusNode:).
Sourcepub fn autofocus(self, autofocus: bool) -> OutlinedButtonIcon
pub fn autofocus(self, autofocus: bool) -> OutlinedButtonIcon
Dart OutlinedButtonIcon(autofocus:).
Sourcepub fn clip_behavior(self, clip_behavior: Clip) -> OutlinedButtonIcon
pub fn clip_behavior(self, clip_behavior: Clip) -> OutlinedButtonIcon
Dart OutlinedButtonIcon(clipBehavior:).
Sourcepub fn states_controller(
self,
states_controller: Ref<WidgetStatesController>,
) -> OutlinedButtonIcon
pub fn states_controller( self, states_controller: Ref<WidgetStatesController>, ) -> OutlinedButtonIcon
Dart OutlinedButtonIcon(statesController:).
Sourcepub fn icon<K>(self, icon: impl IntoWidget<K>) -> OutlinedButtonIcon
pub fn icon<K>(self, icon: impl IntoWidget<K>) -> OutlinedButtonIcon
Dart OutlinedButton.icon(icon:).
Sourcepub fn icon_alignment(self, icon_alignment: IconAlignment) -> OutlinedButtonIcon
pub fn icon_alignment(self, icon_alignment: IconAlignment) -> OutlinedButtonIcon
Dart OutlinedButton.icon(iconAlignment:).
Sourcepub fn build(self) -> OutlinedButton
pub fn build(self) -> OutlinedButton
The OutlinedButton these arguments describe.
Trait Implementations§
Source§impl IntoWidget<StatefulKind> for OutlinedButtonIcon
impl IntoWidget<StatefulKind> for OutlinedButtonIcon
Source§fn into_widget(self) -> WidgetRef
fn into_widget(self) -> WidgetRef
The widget as a tree node, made where this is called: its
creation_location.Auto Trait Implementations§
impl !RefUnwindSafe for OutlinedButtonIcon
impl !Send for OutlinedButtonIcon
impl !Sync for OutlinedButtonIcon
impl !UnwindSafe for OutlinedButtonIcon
impl Forget for OutlinedButtonIcon
impl Freeze for OutlinedButtonIconwhere
*const RcInner<dyn Key> is !null: Freeze,
PhantomData<RcInner<dyn Key>>: Freeze,
*const RcInner<dyn Fn(&mut App)> is !null: Freeze,
PhantomData<RcInner<dyn Fn(&mut App)>>: Freeze,
NonZero<u32>: Freeze,
*const (): Freeze,
*const RcInner<dyn Fn(&mut App, bool)> is !null: Freeze,
PhantomData<RcInner<dyn Fn(&mut App, bool)>>: Freeze,
*const RcInner<dyn WidgetStateProperty<Option<TextStyle>>> is !null: Freeze,
PhantomData<RcInner<dyn WidgetStateProperty<Option<TextStyle>>>>: Freeze,
*const RcInner<dyn WidgetStateProperty<Option<Color>>> is !null: Freeze,
PhantomData<RcInner<dyn WidgetStateProperty<Option<Color>>>>: Freeze,
*const RcInner<dyn WidgetStateProperty<Option<f64>>> is !null: Freeze,
PhantomData<RcInner<dyn WidgetStateProperty<Option<f64>>>>: Freeze,
*const RcInner<dyn WidgetStateProperty<Option<EdgeInsetsGeometry>>> is !null: Freeze,
PhantomData<RcInner<dyn WidgetStateProperty<Option<EdgeInsetsGeometry>>>>: Freeze,
*const RcInner<dyn WidgetStateProperty<Option<Size>>> is !null: Freeze,
PhantomData<RcInner<dyn WidgetStateProperty<Option<Size>>>>: Freeze,
*const RcInner<dyn WidgetStateProperty<Option<BorderSide>>> is !null: Freeze,
PhantomData<RcInner<dyn WidgetStateProperty<Option<BorderSide>>>>: Freeze,
*const RcInner<dyn WidgetStateProperty<Option<OutlinedBorderRef>>> is !null: Freeze,
PhantomData<RcInner<dyn WidgetStateProperty<Option<OutlinedBorderRef>>>>: Freeze,
*const RcInner<dyn WidgetStateProperty<Option<Rc<dyn MouseCursor>>>> is !null: Freeze,
PhantomData<RcInner<dyn WidgetStateProperty<Option<Rc<dyn MouseCursor>>>>>: Freeze,
*const RcInner<dyn InteractiveInkFeatureFactory> is !null: Freeze,
PhantomData<RcInner<dyn InteractiveInkFeatureFactory>>: Freeze,
*const RcInner<dyn Fn(&mut App, AnyElement, &HashSet<WidgetState>, Option<Rc<dyn Widget>>) -> Rc<dyn Widget>> is !null: Freeze,
PhantomData<RcInner<dyn Fn(&mut App, AnyElement, &HashSet<WidgetState>, Option<Rc<dyn Widget>>) -> Rc<dyn Widget>>>: Freeze,
&'static FocusNodeVTable: Freeze,
*const RcInner<Keep> is !null: Freeze,
PhantomData<RcInner<Keep>>: Freeze,
PhantomData<fn() -> WidgetStatesController>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const RcInner<dyn Widget> is !null: Freeze,
PhantomData<RcInner<dyn Widget>>: Freeze,
impl Move for OutlinedButtonIcon
impl Unpin for OutlinedButtonIconwhere
Rc<dyn Key>: Unpin,
Rc<dyn Fn(&mut App)>: Unpin,
NonZero<u32>: Unpin,
*const (): Unpin,
Rc<dyn Fn(&mut App, bool)>: Unpin,
Rc<dyn WidgetStateProperty<Option<TextStyle>>>: Unpin,
Rc<dyn WidgetStateProperty<Option<Color>>>: Unpin,
Rc<dyn WidgetStateProperty<Option<f64>>>: Unpin,
Rc<dyn WidgetStateProperty<Option<EdgeInsetsGeometry>>>: Unpin,
Rc<dyn WidgetStateProperty<Option<Size>>>: Unpin,
Rc<dyn WidgetStateProperty<Option<BorderSide>>>: Unpin,
Rc<dyn WidgetStateProperty<Option<OutlinedBorderRef>>>: Unpin,
Rc<dyn WidgetStateProperty<Option<Rc<dyn MouseCursor>>>>: Unpin,
Rc<dyn InteractiveInkFeatureFactory>: Unpin,
Rc<dyn Fn(&mut App, AnyElement, &HashSet<WidgetState>, Option<Rc<dyn Widget>>) -> Rc<dyn Widget>>: Unpin,
&'static FocusNodeVTable: Unpin,
Rc<Keep>: Unpin,
*const u8 is !null: Unpin,
Rc<dyn Widget>: Unpin,
impl UnsafeUnpin for OutlinedButtonIconwhere
*const RcInner<dyn Key> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Key>>: UnsafeUnpin,
*const RcInner<dyn Fn(&mut App)> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(&mut App)>>: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
*const (): UnsafeUnpin,
*const RcInner<dyn Fn(&mut App, bool)> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(&mut App, bool)>>: UnsafeUnpin,
*const RcInner<dyn WidgetStateProperty<Option<TextStyle>>> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn WidgetStateProperty<Option<TextStyle>>>>: UnsafeUnpin,
*const RcInner<dyn WidgetStateProperty<Option<Color>>> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn WidgetStateProperty<Option<Color>>>>: UnsafeUnpin,
*const RcInner<dyn WidgetStateProperty<Option<f64>>> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn WidgetStateProperty<Option<f64>>>>: UnsafeUnpin,
*const RcInner<dyn WidgetStateProperty<Option<EdgeInsetsGeometry>>> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn WidgetStateProperty<Option<EdgeInsetsGeometry>>>>: UnsafeUnpin,
*const RcInner<dyn WidgetStateProperty<Option<Size>>> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn WidgetStateProperty<Option<Size>>>>: UnsafeUnpin,
*const RcInner<dyn WidgetStateProperty<Option<BorderSide>>> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn WidgetStateProperty<Option<BorderSide>>>>: UnsafeUnpin,
*const RcInner<dyn WidgetStateProperty<Option<OutlinedBorderRef>>> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn WidgetStateProperty<Option<OutlinedBorderRef>>>>: UnsafeUnpin,
*const RcInner<dyn WidgetStateProperty<Option<Rc<dyn MouseCursor>>>> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn WidgetStateProperty<Option<Rc<dyn MouseCursor>>>>>: UnsafeUnpin,
*const RcInner<dyn InteractiveInkFeatureFactory> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn InteractiveInkFeatureFactory>>: UnsafeUnpin,
*const RcInner<dyn Fn(&mut App, AnyElement, &HashSet<WidgetState>, Option<Rc<dyn Widget>>) -> Rc<dyn Widget>> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Fn(&mut App, AnyElement, &HashSet<WidgetState>, Option<Rc<dyn Widget>>) -> Rc<dyn Widget>>>: UnsafeUnpin,
&'static FocusNodeVTable: UnsafeUnpin,
*const RcInner<Keep> is !null: UnsafeUnpin,
PhantomData<RcInner<Keep>>: UnsafeUnpin,
PhantomData<fn() -> WidgetStatesController>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const RcInner<dyn Widget> is !null: UnsafeUnpin,
PhantomData<RcInner<dyn Widget>>: UnsafeUnpin,
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
Mutably borrows from an owned value. Read more