pub struct ThemeDataCopyWith { /* private fields */ }Expand description
Dart’s ThemeData.copyWith named arguments over the theme they copy;
build applies brightness to the colour scheme, whichever order the two
were given in.
Implementations§
Source§impl ThemeDataCopyWith
impl ThemeDataCopyWith
Sourcepub fn adaptations(self, adaptations: Vec<AdaptationRef>) -> ThemeDataCopyWith
pub fn adaptations(self, adaptations: Vec<AdaptationRef>) -> ThemeDataCopyWith
Dart copyWith(adaptations:).
Sourcepub fn apply_elevation_overlay_color(
self,
apply_elevation_overlay_color: bool,
) -> ThemeDataCopyWith
pub fn apply_elevation_overlay_color( self, apply_elevation_overlay_color: bool, ) -> ThemeDataCopyWith
Dart copyWith(applyElevationOverlayColor:).
Sourcepub fn cupertino_override_theme(
self,
cupertino_override_theme: NoDefaultCupertinoThemeData,
) -> ThemeDataCopyWith
pub fn cupertino_override_theme( self, cupertino_override_theme: NoDefaultCupertinoThemeData, ) -> ThemeDataCopyWith
Dart copyWith(cupertinoOverrideTheme:).
Sourcepub fn extensions(self, extensions: Vec<ThemeExtensionRef>) -> ThemeDataCopyWith
pub fn extensions(self, extensions: Vec<ThemeExtensionRef>) -> ThemeDataCopyWith
Dart copyWith(extensions:).
Sourcepub fn input_decoration_theme(
self,
input_decoration_theme: impl Into<InputDecorationThemeData>,
) -> ThemeDataCopyWith
pub fn input_decoration_theme( self, input_decoration_theme: impl Into<InputDecorationThemeData>, ) -> ThemeDataCopyWith
Dart copyWith(inputDecorationTheme:), an InputDecorationThemeData or an
InputDecorationTheme, whose data is kept.
Sourcepub fn material_tap_target_size(
self,
material_tap_target_size: MaterialTapTargetSize,
) -> ThemeDataCopyWith
pub fn material_tap_target_size( self, material_tap_target_size: MaterialTapTargetSize, ) -> ThemeDataCopyWith
Dart copyWith(materialTapTargetSize:).
Sourcepub fn page_transitions_theme(
self,
page_transitions_theme: PageTransitionsTheme,
) -> ThemeDataCopyWith
pub fn page_transitions_theme( self, page_transitions_theme: PageTransitionsTheme, ) -> ThemeDataCopyWith
Dart copyWith(pageTransitionsTheme:).
Sourcepub fn platform(self, platform: TargetPlatform) -> ThemeDataCopyWith
pub fn platform(self, platform: TargetPlatform) -> ThemeDataCopyWith
Dart copyWith(platform:).
Sourcepub fn scrollbar_theme(
self,
scrollbar_theme: ScrollbarThemeData,
) -> ThemeDataCopyWith
pub fn scrollbar_theme( self, scrollbar_theme: ScrollbarThemeData, ) -> ThemeDataCopyWith
Dart copyWith(scrollbarTheme:).
Sourcepub fn splash_factory(
self,
splash_factory: InteractiveInkFeatureFactoryRef,
) -> ThemeDataCopyWith
pub fn splash_factory( self, splash_factory: InteractiveInkFeatureFactoryRef, ) -> ThemeDataCopyWith
Dart copyWith(splashFactory:).
Sourcepub fn visual_density(self, visual_density: VisualDensity) -> ThemeDataCopyWith
pub fn visual_density(self, visual_density: VisualDensity) -> ThemeDataCopyWith
Dart copyWith(visualDensity:).
Sourcepub fn color_scheme(self, color_scheme: ColorScheme) -> ThemeDataCopyWith
pub fn color_scheme(self, color_scheme: ColorScheme) -> ThemeDataCopyWith
Dart copyWith(colorScheme:).
Sourcepub fn brightness(self, brightness: Brightness) -> ThemeDataCopyWith
pub fn brightness(self, brightness: Brightness) -> ThemeDataCopyWith
Dart copyWith(brightness:).
Sourcepub fn canvas_color(self, canvas_color: Color) -> ThemeDataCopyWith
pub fn canvas_color(self, canvas_color: Color) -> ThemeDataCopyWith
Dart copyWith(canvasColor:).
Sourcepub fn card_color(self, card_color: Color) -> ThemeDataCopyWith
pub fn card_color(self, card_color: Color) -> ThemeDataCopyWith
Dart copyWith(cardColor:).
Sourcepub fn disabled_color(self, disabled_color: Color) -> ThemeDataCopyWith
pub fn disabled_color(self, disabled_color: Color) -> ThemeDataCopyWith
Dart copyWith(disabledColor:).
Sourcepub fn divider_color(self, divider_color: Color) -> ThemeDataCopyWith
pub fn divider_color(self, divider_color: Color) -> ThemeDataCopyWith
Dart copyWith(dividerColor:).
Sourcepub fn focus_color(self, focus_color: Color) -> ThemeDataCopyWith
pub fn focus_color(self, focus_color: Color) -> ThemeDataCopyWith
Dart copyWith(focusColor:).
Sourcepub fn highlight_color(self, highlight_color: Color) -> ThemeDataCopyWith
pub fn highlight_color(self, highlight_color: Color) -> ThemeDataCopyWith
Dart copyWith(highlightColor:).
Sourcepub fn hint_color(self, hint_color: Color) -> ThemeDataCopyWith
pub fn hint_color(self, hint_color: Color) -> ThemeDataCopyWith
Dart copyWith(hintColor:).
Sourcepub fn hover_color(self, hover_color: Color) -> ThemeDataCopyWith
pub fn hover_color(self, hover_color: Color) -> ThemeDataCopyWith
Dart copyWith(hoverColor:).
Sourcepub fn primary_color(self, primary_color: Color) -> ThemeDataCopyWith
pub fn primary_color(self, primary_color: Color) -> ThemeDataCopyWith
Dart copyWith(primaryColor:).
Sourcepub fn primary_color_dark(self, primary_color_dark: Color) -> ThemeDataCopyWith
pub fn primary_color_dark(self, primary_color_dark: Color) -> ThemeDataCopyWith
Dart copyWith(primaryColorDark:).
Sourcepub fn primary_color_light(
self,
primary_color_light: Color,
) -> ThemeDataCopyWith
pub fn primary_color_light( self, primary_color_light: Color, ) -> ThemeDataCopyWith
Dart copyWith(primaryColorLight:).
Sourcepub fn scaffold_background_color(
self,
scaffold_background_color: Color,
) -> ThemeDataCopyWith
pub fn scaffold_background_color( self, scaffold_background_color: Color, ) -> ThemeDataCopyWith
Dart copyWith(scaffoldBackgroundColor:).
Sourcepub fn secondary_header_color(
self,
secondary_header_color: Color,
) -> ThemeDataCopyWith
pub fn secondary_header_color( self, secondary_header_color: Color, ) -> ThemeDataCopyWith
Dart copyWith(secondaryHeaderColor:).
Sourcepub fn shadow_color(self, shadow_color: Color) -> ThemeDataCopyWith
pub fn shadow_color(self, shadow_color: Color) -> ThemeDataCopyWith
Dart copyWith(shadowColor:).
Sourcepub fn splash_color(self, splash_color: Color) -> ThemeDataCopyWith
pub fn splash_color(self, splash_color: Color) -> ThemeDataCopyWith
Dart copyWith(splashColor:).
Sourcepub fn unselected_widget_color(
self,
unselected_widget_color: Color,
) -> ThemeDataCopyWith
pub fn unselected_widget_color( self, unselected_widget_color: Color, ) -> ThemeDataCopyWith
Dart copyWith(unselectedWidgetColor:).
Sourcepub fn icon_theme(self, icon_theme: IconThemeData) -> ThemeDataCopyWith
pub fn icon_theme(self, icon_theme: IconThemeData) -> ThemeDataCopyWith
Dart copyWith(iconTheme:).
Sourcepub fn primary_icon_theme(
self,
primary_icon_theme: IconThemeData,
) -> ThemeDataCopyWith
pub fn primary_icon_theme( self, primary_icon_theme: IconThemeData, ) -> ThemeDataCopyWith
Dart copyWith(primaryIconTheme:).
Sourcepub fn primary_text_theme(
self,
primary_text_theme: TextTheme,
) -> ThemeDataCopyWith
pub fn primary_text_theme( self, primary_text_theme: TextTheme, ) -> ThemeDataCopyWith
Dart copyWith(primaryTextTheme:).
Sourcepub fn text_theme(self, text_theme: TextTheme) -> ThemeDataCopyWith
pub fn text_theme(self, text_theme: TextTheme) -> ThemeDataCopyWith
Dart copyWith(textTheme:).
Sourcepub fn typography(self, typography: Typography) -> ThemeDataCopyWith
pub fn typography(self, typography: Typography) -> ThemeDataCopyWith
Dart copyWith(typography:).
Sourcepub fn action_icon_theme(
self,
action_icon_theme: ActionIconThemeData,
) -> ThemeDataCopyWith
pub fn action_icon_theme( self, action_icon_theme: ActionIconThemeData, ) -> ThemeDataCopyWith
Dart copyWith(actionIconTheme:).
Sourcepub fn app_bar_theme(
self,
app_bar_theme: impl Into<AppBarThemeData>,
) -> ThemeDataCopyWith
pub fn app_bar_theme( self, app_bar_theme: impl Into<AppBarThemeData>, ) -> ThemeDataCopyWith
Dart copyWith(appBarTheme:).
Sourcepub fn badge_theme(self, badge_theme: BadgeThemeData) -> ThemeDataCopyWith
pub fn badge_theme(self, badge_theme: BadgeThemeData) -> ThemeDataCopyWith
Dart copyWith(badgeTheme:).
Dart copyWith(bannerTheme:).
Dart copyWith(bottomNavigationBarTheme:).
Sourcepub fn bottom_sheet_theme(
self,
bottom_sheet_theme: BottomSheetThemeData,
) -> ThemeDataCopyWith
pub fn bottom_sheet_theme( self, bottom_sheet_theme: BottomSheetThemeData, ) -> ThemeDataCopyWith
Dart copyWith(bottomSheetTheme:).
Dart copyWith(buttonTheme:).
Sourcepub fn card_theme(self, card_theme: CardThemeData) -> ThemeDataCopyWith
pub fn card_theme(self, card_theme: CardThemeData) -> ThemeDataCopyWith
Dart copyWith(cardTheme:).
pub fn carousel_view_theme( self, carousel_view_theme: CarouselViewThemeData, ) -> ThemeDataCopyWith
Sourcepub fn checkbox_theme(
self,
checkbox_theme: CheckboxThemeData,
) -> ThemeDataCopyWith
pub fn checkbox_theme( self, checkbox_theme: CheckboxThemeData, ) -> ThemeDataCopyWith
Dart copyWith(checkboxTheme:).
Sourcepub fn chip_theme(self, chip_theme: ChipThemeData) -> ThemeDataCopyWith
pub fn chip_theme(self, chip_theme: ChipThemeData) -> ThemeDataCopyWith
Dart copyWith(chipTheme:).
Sourcepub fn data_table_theme(
self,
data_table_theme: DataTableThemeData,
) -> ThemeDataCopyWith
pub fn data_table_theme( self, data_table_theme: DataTableThemeData, ) -> ThemeDataCopyWith
Dart copyWith(dataTableTheme:).
Sourcepub fn date_picker_theme(
self,
date_picker_theme: DatePickerThemeData,
) -> ThemeDataCopyWith
pub fn date_picker_theme( self, date_picker_theme: DatePickerThemeData, ) -> ThemeDataCopyWith
Dart copyWith(datePickerTheme:).
Sourcepub fn dialog_theme(self, dialog_theme: DialogThemeData) -> ThemeDataCopyWith
pub fn dialog_theme(self, dialog_theme: DialogThemeData) -> ThemeDataCopyWith
Dart copyWith(dialogTheme:).
Sourcepub fn divider_theme(self, divider_theme: DividerThemeData) -> ThemeDataCopyWith
pub fn divider_theme(self, divider_theme: DividerThemeData) -> ThemeDataCopyWith
Dart copyWith(dividerTheme:).
Sourcepub fn drawer_theme(self, drawer_theme: DrawerThemeData) -> ThemeDataCopyWith
pub fn drawer_theme(self, drawer_theme: DrawerThemeData) -> ThemeDataCopyWith
Dart copyWith(drawerTheme:).
Dart copyWith(dropdownMenuTheme:).
Dart copyWith(elevatedButtonTheme:).
Sourcepub fn expansion_tile_theme(
self,
expansion_tile_theme: ExpansionTileThemeData,
) -> ThemeDataCopyWith
pub fn expansion_tile_theme( self, expansion_tile_theme: ExpansionTileThemeData, ) -> ThemeDataCopyWith
Dart copyWith(expansionTileTheme:).
Dart copyWith(filledButtonTheme:).
Dart copyWith(floatingActionButtonTheme:).
Dart copyWith(iconButtonTheme:).
Sourcepub fn list_tile_theme(
self,
list_tile_theme: ListTileThemeData,
) -> ThemeDataCopyWith
pub fn list_tile_theme( self, list_tile_theme: ListTileThemeData, ) -> ThemeDataCopyWith
Dart copyWith(listTileTheme:).
Dart copyWith(menuBarTheme:).
Dart copyWith(menuButtonTheme:).
Dart copyWith(menuTheme:).
Dart copyWith(navigationBarTheme:).
Dart copyWith(navigationDrawerTheme:).
Dart copyWith(navigationRailTheme:).
Dart copyWith(outlinedButtonTheme:).
Dart copyWith(popupMenuTheme:).
Sourcepub fn progress_indicator_theme(
self,
progress_indicator_theme: ProgressIndicatorThemeData,
) -> ThemeDataCopyWith
pub fn progress_indicator_theme( self, progress_indicator_theme: ProgressIndicatorThemeData, ) -> ThemeDataCopyWith
Dart copyWith(progressIndicatorTheme:).
Sourcepub fn radio_theme(self, radio_theme: RadioThemeData) -> ThemeDataCopyWith
pub fn radio_theme(self, radio_theme: RadioThemeData) -> ThemeDataCopyWith
Dart copyWith(radioTheme:).
Sourcepub fn search_bar_theme(
self,
search_bar_theme: SearchBarThemeData,
) -> ThemeDataCopyWith
pub fn search_bar_theme( self, search_bar_theme: SearchBarThemeData, ) -> ThemeDataCopyWith
Dart copyWith(searchBarTheme:).
Sourcepub fn search_view_theme(
self,
search_view_theme: SearchViewThemeData,
) -> ThemeDataCopyWith
pub fn search_view_theme( self, search_view_theme: SearchViewThemeData, ) -> ThemeDataCopyWith
Dart copyWith(searchViewTheme:).
Dart copyWith(segmentedButtonTheme:).
Sourcepub fn slider_theme(self, slider_theme: SliderThemeData) -> ThemeDataCopyWith
pub fn slider_theme(self, slider_theme: SliderThemeData) -> ThemeDataCopyWith
Dart copyWith(sliderTheme:).
Sourcepub fn snack_bar_theme(
self,
snack_bar_theme: SnackBarThemeData,
) -> ThemeDataCopyWith
pub fn snack_bar_theme( self, snack_bar_theme: SnackBarThemeData, ) -> ThemeDataCopyWith
Dart copyWith(snackBarTheme:).
Sourcepub fn switch_theme(self, switch_theme: SwitchThemeData) -> ThemeDataCopyWith
pub fn switch_theme(self, switch_theme: SwitchThemeData) -> ThemeDataCopyWith
Dart copyWith(switchTheme:).
Sourcepub fn tab_bar_theme(self, tab_bar_theme: TabBarThemeData) -> ThemeDataCopyWith
pub fn tab_bar_theme(self, tab_bar_theme: TabBarThemeData) -> ThemeDataCopyWith
Dart copyWith(tabBarTheme:).
Dart copyWith(textButtonTheme:).
Sourcepub fn text_selection_theme(
self,
text_selection_theme: TextSelectionThemeData,
) -> ThemeDataCopyWith
pub fn text_selection_theme( self, text_selection_theme: TextSelectionThemeData, ) -> ThemeDataCopyWith
Dart copyWith(textSelectionTheme:).
Sourcepub fn time_picker_theme(
self,
time_picker_theme: TimePickerThemeData,
) -> ThemeDataCopyWith
pub fn time_picker_theme( self, time_picker_theme: TimePickerThemeData, ) -> ThemeDataCopyWith
Dart copyWith(timePickerTheme:).
Dart copyWith(toggleButtonsTheme:).
Sourcepub fn tooltip_theme(self, tooltip_theme: TooltipThemeData) -> ThemeDataCopyWith
pub fn tooltip_theme(self, tooltip_theme: TooltipThemeData) -> ThemeDataCopyWith
Dart copyWith(tooltipTheme:).
Sourcepub fn use_material3(self, use_material3: bool) -> ThemeDataCopyWith
👎Deprecated: Use a ThemeData constructor (.from, .light, or .dark) instead. These constructors all have a useMaterial3 argument, and they set appropriate default values based on its value. See the useMaterial3 API documentation for full details. This feature was deprecated after v3.13.0-0.2.pre.
pub fn use_material3(self, use_material3: bool) -> ThemeDataCopyWith
Use a ThemeData constructor (.from, .light, or .dark) instead. These constructors all have a useMaterial3 argument, and they set appropriate default values based on its value. See the useMaterial3 API documentation for full details. This feature was deprecated after v3.13.0-0.2.pre.
Dart copyWith(useMaterial3:).
👎Deprecated: Use OverflowBar instead. This feature was deprecated after v3.21.0-10.0.pre.
Use OverflowBar instead. This feature was deprecated after v3.21.0-10.0.pre.
Dart copyWith(buttonBarTheme:).
Sourcepub fn dialog_background_color(
self,
dialog_background_color: Color,
) -> ThemeDataCopyWith
👎Deprecated: Use DialogThemeData.backgroundColor instead. This feature was deprecated after v3.27.0-0.1.pre.
pub fn dialog_background_color( self, dialog_background_color: Color, ) -> ThemeDataCopyWith
Use DialogThemeData.backgroundColor instead. This feature was deprecated after v3.27.0-0.1.pre.
Dart copyWith(dialogBackgroundColor:).
Sourcepub fn indicator_color(self, indicator_color: Color) -> ThemeDataCopyWith
👎Deprecated: Use TabBarThemeData.indicatorColor instead. This feature was deprecated after v3.28.0-1.0.pre.
pub fn indicator_color(self, indicator_color: Color) -> ThemeDataCopyWith
Use TabBarThemeData.indicatorColor instead. This feature was deprecated after v3.28.0-1.0.pre.
Dart copyWith(indicatorColor:).