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
a1535d05
Commit
a1535d05
authored
Mar 07, 2016
by
Adam Barth
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2456 from abarth/sync_docs
Synchronizes dartdoc with dart:ui
parents
31bdad08
302ebbaf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
text_style.dart
packages/flutter/lib/src/painting/text_style.dart
+7
-7
No files found.
packages/flutter/lib/src/painting/text_style.dart
View file @
a1535d05
...
...
@@ -31,22 +31,22 @@ class TextStyle {
/// The color to use when painting the text.
final
Color
color
;
/// The name of the font to use when painting the text.
/// The name of the font to use when painting the text
(e.g., Roboto)
.
final
String
fontFamily
;
/// The size of gyphs (in logical pixels) to use when painting the text.
final
double
fontSize
;
/// The
font weight to use when painting the text
.
/// The
typeface thickness to use when painting the text (e.g., bold)
.
final
FontWeight
fontWeight
;
/// The
font style to use when painting the text
.
/// The
typeface variant to use when drawing the letters (e.g., italics)
.
final
FontStyle
fontStyle
;
/// The amount of space to add between each letter.
/// The amount of space
(in logical pixels)
to add between each letter.
final
double
letterSpacing
;
/// The amount of space to add at each sequence of white-space (i.e. between each word).
/// The amount of space
(in logical pixels)
to add at each sequence of white-space (i.e. between each word).
final
double
wordSpacing
;
/// How the text should be aligned (applies only to the outermost
...
...
@@ -59,13 +59,13 @@ class TextStyle {
/// The distance between the text baselines, as a multiple of the font size.
final
double
height
;
/// The decorations to paint near the text.
/// The decorations to paint near the text
(e.g., an underline)
.
final
TextDecoration
decoration
;
/// The color in which to paint the text decorations.
final
Color
decorationColor
;
/// The style in which to paint the text decorations.
/// The style in which to paint the text decorations
(e.g., dashed)
.
final
TextDecorationStyle
decorationStyle
;
/// Returns a new text style that matches this text style but with the given
...
...
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