pub struct ActionIconThemeData {
pub back_button_icon_builder: Option<WidgetBuilder>,
pub close_button_icon_builder: Option<WidgetBuilder>,
pub drawer_button_icon_builder: Option<WidgetBuilder>,
pub end_drawer_button_icon_builder: Option<WidgetBuilder>,
}Expand description
A ActionIconThemeData that overrides the default icons of
BackButton, CloseButton, DrawerButton, and EndDrawerButton with
ActionIconTheme::of or the overall Theme’s ThemeData::action_icon_theme.
Fields§
Overrides BackButtonIcon’s icon.
If back_button_icon_builder is null, then
BackButtonIcon fallbacks to the platform’s default back button icon.
Overrides CloseButtonIcon’s icon.
If close_button_icon_builder is null, then
CloseButtonIcon fallbacks to the platform’s default close button icon.
Overrides DrawerButtonIcon’s icon.
If drawer_button_icon_builder is null, then
DrawerButtonIcon fallbacks to the platform’s default drawer button icon.
Overrides EndDrawerButtonIcon’s icon.
If end_drawer_button_icon_builder is null, then
EndDrawerButtonIcon fallbacks to the platform’s default end drawer button icon.
Implementations§
Source§impl ActionIconThemeData
impl ActionIconThemeData
Sourcepub fn new() -> ActionIconThemeData
pub fn new() -> ActionIconThemeData
Creates an ActionIconThemeData; Dart’s optional named arguments are the fluent
setters.
The builders back_button_icon_builder,
close_button_icon_builder,
drawer_button_icon_builder,
end_drawer_button_icon_builder may be null.
Dart ActionIconThemeData(backButtonIconBuilder:).
Dart ActionIconThemeData(closeButtonIconBuilder:).
Dart ActionIconThemeData(drawerButtonIconBuilder:).
Dart ActionIconThemeData(endDrawerButtonIconBuilder:).
Sourcepub fn copy_with(&self) -> ActionIconThemeData
pub fn copy_with(&self) -> ActionIconThemeData
Creates a copy of this object but with the given fields replaced with the new values.
Dart’s named arguments are the fluent setters on the copy
(data.copy_with().back_button_icon_builder(builder)).
Sourcepub fn lerp(
a: Option<&ActionIconThemeData>,
b: Option<&ActionIconThemeData>,
t: f64,
) -> Option<ActionIconThemeData>
pub fn lerp( a: Option<&ActionIconThemeData>, b: Option<&ActionIconThemeData>, t: f64, ) -> Option<ActionIconThemeData>
Linearly interpolate between two action icon themes.
Trait Implementations§
Source§impl Clone for ActionIconThemeData
impl Clone for ActionIconThemeData
Source§impl Debug for ActionIconThemeData
impl Debug for ActionIconThemeData
Source§impl Default for ActionIconThemeData
impl Default for ActionIconThemeData
Source§impl Diagnosticable for ActionIconThemeData
impl Diagnosticable for ActionIconThemeData
Source§fn debug_fill_properties(&self, properties: &mut DiagnosticPropertiesBuilder)
fn debug_fill_properties(&self, properties: &mut DiagnosticPropertiesBuilder)
Source§fn type_name(&self) -> &'static str
fn type_name(&self) -> &'static str
Object.runtimeType as diagnostics print it: the last segment of
the Rust type path, without generic arguments.Source§fn identity_hash(&self) -> u64
fn identity_hash(&self) -> u64
Object.hashCode as diagnostics print it: the object’s address.Source§fn to_string_short(&self) -> String
fn to_string_short(&self) -> String
Source§fn to_diagnostics_node(&self) -> DiagnosticableNode
fn to_diagnostics_node(&self) -> DiagnosticableNode
DiagnosticsNode::to_string_deep.Source§fn to_diagnostics_node_with(
&self,
name: Option<String>,
style: Option<DiagnosticsTreeStyle>,
) -> DiagnosticableNode
fn to_diagnostics_node_with( &self, name: Option<String>, style: Option<DiagnosticsTreeStyle>, ) -> DiagnosticableNode
toDiagnosticsNode(name:, style:).Source§fn to_string(&self) -> String
fn to_string(&self) -> String
toString: a single-line description with properties and no
children. Read moreSource§fn to_string_at(&self, min_level: DiagnosticLevel) -> String
fn to_string_at(&self, min_level: DiagnosticLevel) -> String
toString(minLevel:).