Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
da4e4054
Unverified
Commit
da4e4054
authored
Sep 16, 2022
by
Kate Lovett
Committed by
GitHub
Sep 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing deprecation notice for toggleableActiveColor (#111707)
parent
e89e6825
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
theme_data.dart
packages/flutter/lib/src/material/theme_data.dart
+14
-8
No files found.
packages/flutter/lib/src/material/theme_data.dart
View file @
da4e4054
...
...
@@ -413,7 +413,7 @@ class ThemeData with Diagnosticable {
'No longer used by the framework, please remove any reference to it. '
'For more information, consult the migration guide at '
'https://flutter.dev/docs/release/breaking-changes/toggleable-active-color#migration-guide. '
'This feature was deprecated after v
2.13.0-0.4
.pre.'
,
'This feature was deprecated after v
3.4.0-19.0
.pre.'
,
)
Color
?
toggleableActiveColor
,
@Deprecated
(
...
...
@@ -846,7 +846,7 @@ class ThemeData with Diagnosticable {
'No longer used by the framework, please remove any reference to it. '
'For more information, consult the migration guide at '
'https://flutter.dev/docs/release/breaking-changes/toggleable-active-color#migration-guide. '
'This feature was deprecated after v
2.13.0-0.4
.pre.'
,
'This feature was deprecated after v
3.4.0-19.0
.pre.'
,
)
Color
?
toggleableActiveColor
,
@Deprecated
(
...
...
@@ -1420,11 +1420,6 @@ class ThemeData with Diagnosticable {
/// * [splashFactory], which defines the appearance of the splash.
final
Color
splashColor
;
/// The color used to highlight the active states of toggleable widgets like
/// [Switch], [Radio], and [Checkbox].
Color
get
toggleableActiveColor
=>
_toggleableActiveColor
!;
final
Color
?
_toggleableActiveColor
;
/// The color used for widgets in their inactive (but enabled)
/// state. For example, an unchecked checkbox. See also [disabledColor].
final
Color
unselectedWidgetColor
;
...
...
@@ -1734,6 +1729,17 @@ class ThemeData with Diagnosticable {
Color
get
backgroundColor
=>
_backgroundColor
!;
final
Color
?
_backgroundColor
;
/// The color used to highlight the active states of toggleable widgets like
/// [Switch], [Radio], and [Checkbox].
@Deprecated
(
'No longer used by the framework, please remove any reference to it. '
'For more information, consult the migration guide at '
'https://flutter.dev/docs/release/breaking-changes/toggleable-active-color#migration-guide. '
'This feature was deprecated after v3.4.0-19.0.pre.'
,
)
Color
get
toggleableActiveColor
=>
_toggleableActiveColor
!;
final
Color
?
_toggleableActiveColor
;
/// Creates a copy of this theme but with the given fields replaced with the new values.
///
/// The [brightness] value is applied to the [colorScheme].
...
...
@@ -1874,7 +1880,7 @@ class ThemeData with Diagnosticable {
'No longer used by the framework, please remove any reference to it. '
'For more information, consult the migration guide at '
'https://flutter.dev/docs/release/breaking-changes/toggleable-active-color#migration-guide. '
'This feature was deprecated after v
2.13.0-0.4
.pre.'
,
'This feature was deprecated after v
3.4.0-19.0
.pre.'
,
)
Color
?
toggleableActiveColor
,
@Deprecated
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment