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
32d65fef
Unverified
Commit
32d65fef
authored
Dec 18, 2018
by
Alexandre Ardhuin
Committed by
GitHub
Dec 18, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some formatting issues (#25474)
parent
8ad4cbe0
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
16 additions
and
16 deletions
+16
-16
tween_sequence.dart
packages/flutter/lib/src/animation/tween_sequence.dart
+1
-1
date_picker.dart
packages/flutter/lib/src/cupertino/date_picker.dart
+1
-1
dialog.dart
packages/flutter/lib/src/cupertino/dialog.dart
+1
-1
diagnostics.dart
packages/flutter/lib/src/foundation/diagnostics.dart
+1
-1
image_provider.dart
packages/flutter/lib/src/painting/image_provider.dart
+2
-2
image_resolution.dart
packages/flutter/lib/src/painting/image_resolution.dart
+1
-1
text_style.dart
packages/flutter/lib/src/painting/text_style.dart
+5
-5
automatic_keep_alive.dart
packages/flutter/lib/src/widgets/automatic_keep_alive.dart
+1
-1
page_storage.dart
packages/flutter/lib/src/widgets/page_storage.dart
+3
-3
No files found.
packages/flutter/lib/src/animation/tween_sequence.dart
View file @
32d65fef
...
@@ -34,7 +34,7 @@ import 'tween.dart';
...
@@ -34,7 +34,7 @@ import 'tween.dart';
/// ),
/// ),
/// ],
/// ],
/// ).animate(myAnimationController);
/// ).animate(myAnimationController);
///```
///
```
class
TweenSequence
<
T
>
extends
Animatable
<
T
>
{
class
TweenSequence
<
T
>
extends
Animatable
<
T
>
{
/// Construct a TweenSequence.
/// Construct a TweenSequence.
///
///
...
...
packages/flutter/lib/src/cupertino/date_picker.dart
View file @
32d65fef
packages/flutter/lib/src/cupertino/dialog.dart
View file @
32d65fef
packages/flutter/lib/src/foundation/diagnostics.dart
View file @
32d65fef
...
@@ -474,7 +474,7 @@ final TextTreeConfiguration transitionTextConfiguration = TextTreeConfiguration(
...
@@ -474,7 +474,7 @@ final TextTreeConfiguration transitionTextConfiguration = TextTreeConfiguration(
/// <name>: <description>:
/// <name>: <description>:
/// <properties>
/// <properties>
/// <children>
/// <children>
///```
///
```
///
///
/// See also:
/// See also:
///
///
...
...
packages/flutter/lib/src/painting/image_provider.dart
View file @
32d65fef
...
@@ -664,7 +664,7 @@ class MemoryImage extends ImageProvider<MemoryImage> {
...
@@ -664,7 +664,7 @@ class MemoryImage extends ImageProvider<MemoryImage> {
/// AssetImage('icons/heart.png', scale: 1.5)
/// AssetImage('icons/heart.png', scale: 1.5)
/// ```
/// ```
///
///
///## Assets in packages
///
## Assets in packages
///
///
/// To fetch an asset from a package, the [package] argument must be provided.
/// To fetch an asset from a package, the [package] argument must be provided.
/// For instance, suppose the structure above is inside a package called
/// For instance, suppose the structure above is inside a package called
...
@@ -690,7 +690,7 @@ class MemoryImage extends ImageProvider<MemoryImage> {
...
@@ -690,7 +690,7 @@ class MemoryImage extends ImageProvider<MemoryImage> {
/// lib/backgrounds/background1.png
/// lib/backgrounds/background1.png
/// lib/backgrounds/background2.png
/// lib/backgrounds/background2.png
/// lib/backgrounds/background3.png
/// lib/backgrounds/background3.png
///```
///
```
///
///
/// To include, say the first image, the `pubspec.yaml` of the app should specify
/// To include, say the first image, the `pubspec.yaml` of the app should specify
/// it in the `assets` section:
/// it in the `assets` section:
...
...
packages/flutter/lib/src/painting/image_resolution.dart
View file @
32d65fef
...
@@ -105,7 +105,7 @@ const String _kAssetManifestFileName = 'AssetManifest.json';
...
@@ -105,7 +105,7 @@ const String _kAssetManifestFileName = 'AssetManifest.json';
/// lib/backgrounds/background1.png
/// lib/backgrounds/background1.png
/// lib/backgrounds/background2.png
/// lib/backgrounds/background2.png
/// lib/backgrounds/background3.png
/// lib/backgrounds/background3.png
///```
///
```
///
///
/// To include, say the first image, the `pubspec.yaml` of the app should specify
/// To include, say the first image, the `pubspec.yaml` of the app should specify
/// it in the `assets` section:
/// it in the `assets` section:
...
...
packages/flutter/lib/src/painting/text_style.dart
View file @
32d65fef
...
@@ -140,7 +140,7 @@ const String _kColorForegroundWarning = 'Cannot provide both a color and a foreg
...
@@ -140,7 +140,7 @@ const String _kColorForegroundWarning = 'Cannot provide both a color and a foreg
///
///
/// Custom fonts can be declared in the `pubspec.yaml` file as shown below:
/// Custom fonts can be declared in the `pubspec.yaml` file as shown below:
///
///
///```yaml
///
```yaml
/// flutter:
/// flutter:
/// fonts:
/// fonts:
/// - family: Raleway
/// - family: Raleway
...
@@ -155,7 +155,7 @@ const String _kColorForegroundWarning = 'Cannot provide both a color and a foreg
...
@@ -155,7 +155,7 @@ const String _kColorForegroundWarning = 'Cannot provide both a color and a foreg
/// - asset: fonts/Schyler-Regular.ttf
/// - asset: fonts/Schyler-Regular.ttf
/// - asset: fonts/Schyler-Italic.ttf
/// - asset: fonts/Schyler-Italic.ttf
/// style: italic
/// style: italic
///```
///
```
///
///
/// The `family` property determines the name of the font, which you can use in
/// The `family` property determines the name of the font, which you can use in
/// the [fontFamily] argument. The `asset` property is a path to the font file,
/// the [fontFamily] argument. The `asset` property is a path to the font file,
...
@@ -197,7 +197,7 @@ const String _kColorForegroundWarning = 'Cannot provide both a color and a foreg
...
@@ -197,7 +197,7 @@ const String _kColorForegroundWarning = 'Cannot provide both a color and a foreg
///
///
/// Then the app can declare a font like in the example below:
/// Then the app can declare a font like in the example below:
///
///
///```yaml
///
```yaml
/// flutter:
/// flutter:
/// fonts:
/// fonts:
/// - family: Raleway
/// - family: Raleway
...
@@ -205,14 +205,14 @@ const String _kColorForegroundWarning = 'Cannot provide both a color and a foreg
...
@@ -205,14 +205,14 @@ const String _kColorForegroundWarning = 'Cannot provide both a color and a foreg
/// - asset: assets/fonts/Raleway-Regular.ttf
/// - asset: assets/fonts/Raleway-Regular.ttf
/// - asset: packages/my_package/fonts/Raleway-Medium.ttf
/// - asset: packages/my_package/fonts/Raleway-Medium.ttf
/// weight: 500
/// weight: 500
///```
///
```
///
///
/// The `lib/` is implied, so it should not be included in the asset path.
/// The `lib/` is implied, so it should not be included in the asset path.
///
///
/// In this case, since the app locally defines the font, the TextStyle is
/// In this case, since the app locally defines the font, the TextStyle is
/// created without the `package` argument:
/// created without the `package` argument:
///
///
///```dart
///
```dart
/// const TextStyle(fontFamily: 'Raleway')
/// const TextStyle(fontFamily: 'Raleway')
/// ```
/// ```
///
///
...
...
packages/flutter/lib/src/widgets/automatic_keep_alive.dart
View file @
32d65fef
packages/flutter/lib/src/widgets/page_storage.dart
View file @
32d65fef
...
@@ -29,7 +29,7 @@ import 'framework.dart';
...
@@ -29,7 +29,7 @@ import 'framework.dart';
/// tab: tab,
/// tab: tab,
/// ),
/// ),
/// }),
/// }),
///)
///
)
/// ```
/// ```
class
PageStorageKey
<
T
>
extends
ValueKey
<
T
>
{
class
PageStorageKey
<
T
>
extends
ValueKey
<
T
>
{
/// Creates a [ValueKey] that defines where [PageStorage] values will be saved.
/// Creates a [ValueKey] that defines where [PageStorage] values will be saved.
...
...
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