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
900f1584
Commit
900f1584
authored
Jan 28, 2020
by
Hans Muller
Committed by
Flutter GitHub Bot
Jan 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a TextTheme.body1 deprecation warning typo (#49557)
parent
11621cc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
text_theme.dart
packages/flutter/lib/src/material/text_theme.dart
+4
-4
No files found.
packages/flutter/lib/src/material/text_theme.dart
View file @
900f1584
...
...
@@ -227,7 +227,7 @@ class TextTheme extends Diagnosticable {
/// Used for emphasizing text that would otherwise be [bodyText2].
final
TextStyle
bodyText1
;
///
Used for t
he default text style for [Material].
///
T
he default text style for [Material].
final
TextStyle
bodyText2
;
/// Used for auxiliary text associated with images.
...
...
@@ -325,7 +325,7 @@ class TextTheme extends Diagnosticable {
///
/// This was the name used in the material design 2014 specification. The new
/// specification calls this `body1`, and it is exposed in this API as
/// [
textBody
1].
/// [
bodyText
1].
@Deprecated
(
'This is the term used in the 2014 version of material design. The modern term is bodyText1. '
'This feature was deprecated after v1.13.8.'
...
...
@@ -336,9 +336,9 @@ class TextTheme extends Diagnosticable {
///
/// This was the name used in the material design 2014 specification. The new
/// specification calls this `body2`, and it is exposed in this API as
/// [
textBody
2].
/// [
bodyText
2].
@Deprecated
(
'This is the term used in the 2014 version of material design. The modern term is bodyText
1
. '
'This is the term used in the 2014 version of material design. The modern term is bodyText
2
. '
'This feature was deprecated after v1.13.8.'
)
TextStyle
get
body1
=>
bodyText2
;
...
...
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