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
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
26 additions
and
26 deletions
+26
-26
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
action_sheet_test.dart
packages/flutter/test/cupertino/action_sheet_test.dart
+1
-1
bottom_tab_bar_test.dart
packages/flutter/test/cupertino/bottom_tab_bar_test.dart
+1
-1
dialog_test.dart
packages/flutter/test/cupertino/dialog_test.dart
+1
-1
dialog_theme_test.dart
packages/flutter/test/material/dialog_theme_test.dart
+1
-1
flexible_space_bar_collapse_mode_test.dart
.../test/material/flexible_space_bar_collapse_mode_test.dart
+1
-1
reorderable_list_test.dart
packages/flutter/test/material/reorderable_list_test.dart
+1
-1
common.dart
packages/flutter_driver/test/common.dart
+1
-1
matchers_test.dart
packages/flutter_test/test/matchers_test.dart
+1
-1
process_test.dart
packages/flutter_tools/test/base/process_test.dart
+1
-1
ios_workflow_test.dart
packages/flutter_tools/test/ios/ios_workflow_test.dart
+1
-1
No files found.
packages/flutter/lib/src/animation/tween_sequence.dart
View file @
32d65fef
...
...
@@ -34,7 +34,7 @@ import 'tween.dart';
/// ),
/// ],
/// ).animate(myAnimationController);
///```
///
```
class
TweenSequence
<
T
>
extends
Animatable
<
T
>
{
/// Construct a TweenSequence.
///
...
...
packages/flutter/lib/src/cupertino/date_picker.dart
View file @
32d65fef
...
...
@@ -1340,4 +1340,4 @@ class _CupertinoTimerPickerState extends State<CupertinoTimerPicker> {
child:
picker
,
);
}
}
\ No newline at end of file
}
packages/flutter/lib/src/cupertino/dialog.dart
View file @
32d65fef
...
...
@@ -1694,4 +1694,4 @@ class _RenderCupertinoDialogActions extends RenderBox
bool
hitTestChildren
(
HitTestResult
result
,
{
Offset
position
})
{
return
defaultHitTestChildren
(
result
,
position:
position
);
}
}
\ No newline at end of file
}
packages/flutter/lib/src/foundation/diagnostics.dart
View file @
32d65fef
...
...
@@ -474,7 +474,7 @@ final TextTreeConfiguration transitionTextConfiguration = TextTreeConfiguration(
/// <name>: <description>:
/// <properties>
/// <children>
///```
///
```
///
/// See also:
///
...
...
packages/flutter/lib/src/painting/image_provider.dart
View file @
32d65fef
...
...
@@ -664,7 +664,7 @@ class MemoryImage extends ImageProvider<MemoryImage> {
/// 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.
/// For instance, suppose the structure above is inside a package called
...
...
@@ -690,7 +690,7 @@ class MemoryImage extends ImageProvider<MemoryImage> {
/// lib/backgrounds/background1.png
/// lib/backgrounds/background2.png
/// lib/backgrounds/background3.png
///```
///
```
///
/// To include, say the first image, the `pubspec.yaml` of the app should specify
/// 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';
/// lib/backgrounds/background1.png
/// lib/backgrounds/background2.png
/// lib/backgrounds/background3.png
///```
///
```
///
/// To include, say the first image, the `pubspec.yaml` of the app should specify
/// 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
///
/// Custom fonts can be declared in the `pubspec.yaml` file as shown below:
///
///```yaml
///
```yaml
/// flutter:
/// fonts:
/// - family: Raleway
...
...
@@ -155,7 +155,7 @@ const String _kColorForegroundWarning = 'Cannot provide both a color and a foreg
/// - asset: fonts/Schyler-Regular.ttf
/// - asset: fonts/Schyler-Italic.ttf
/// style: italic
///```
///
```
///
/// 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,
...
...
@@ -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:
///
///```yaml
///
```yaml
/// flutter:
/// fonts:
/// - family: Raleway
...
...
@@ -205,14 +205,14 @@ const String _kColorForegroundWarning = 'Cannot provide both a color and a foreg
/// - asset: assets/fonts/Raleway-Regular.ttf
/// - asset: packages/my_package/fonts/Raleway-Medium.ttf
/// weight: 500
///```
///
```
///
/// 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
/// created without the `package` argument:
///
///```dart
///
```dart
/// const TextStyle(fontFamily: 'Raleway')
/// ```
///
...
...
packages/flutter/lib/src/widgets/automatic_keep_alive.dart
View file @
32d65fef
...
...
@@ -396,4 +396,4 @@ mixin AutomaticKeepAliveClientMixin<T extends StatefulWidget> on State<T> {
_ensureKeepAlive
();
return
null
;
}
}
\ No newline at end of file
}
packages/flutter/lib/src/widgets/page_storage.dart
View file @
32d65fef
...
...
@@ -27,9 +27,9 @@ import 'framework.dart';
/// MyScrollableTabView(
/// key: PageStorageKey<String>(tab.text), // like 'Tab 1'
/// tab: tab,
/// ),
/// }),
///)
///
),
///
}),
///
)
/// ```
class
PageStorageKey
<
T
>
extends
ValueKey
<
T
>
{
/// Creates a [ValueKey] that defines where [PageStorage] values will be saved.
...
...
packages/flutter/test/cupertino/action_sheet_test.dart
View file @
32d65fef
...
...
@@ -970,4 +970,4 @@ Widget boilerplate(Widget child) {
textDirection:
TextDirection
.
ltr
,
child:
child
,
);
}
\ No newline at end of file
}
packages/flutter/test/cupertino/bottom_tab_bar_test.dart
View file @
32d65fef
...
...
@@ -332,4 +332,4 @@ void main() {
decoratedBoxHiddenBorder
.
decoration
;
expect
(
boxDecorationHiddenBorder
.
border
,
isNull
);
});
}
\ No newline at end of file
}
packages/flutter/test/cupertino/dialog_test.dart
View file @
32d65fef
...
...
@@ -1015,4 +1015,4 @@ Widget boilerplate(Widget child) {
textDirection:
TextDirection
.
ltr
,
child:
child
,
);
}
\ No newline at end of file
}
packages/flutter/test/material/dialog_theme_test.dart
View file @
32d65fef
...
...
@@ -128,4 +128,4 @@ void main() {
skip:
!
Platform
.
isLinux
,
);
});
}
\ No newline at end of file
}
packages/flutter/test/material/flexible_space_bar_collapse_mode_test.dart
View file @
32d65fef
...
...
@@ -249,4 +249,4 @@ Future<void> slowDrag(WidgetTester tester, Key widget, Offset offset) async {
await
gesture
.
moveBy
(
offset
);
await
tester
.
pump
(
const
Duration
(
milliseconds:
10
));
await
gesture
.
up
();
}
\ No newline at end of file
}
packages/flutter/test/material/reorderable_list_test.dart
View file @
32d65fef
...
...
@@ -937,4 +937,4 @@ class _StatefulState extends State<_Stateful> {
),
);
}
}
\ No newline at end of file
}
packages/flutter_driver/test/common.dart
View file @
32d65fef
...
...
@@ -24,4 +24,4 @@ void tryToDelete(Directory directory) {
}
on
FileSystemException
catch
(
error
)
{
print
(
'Failed to delete
${directory.path}
:
$error
'
);
}
}
\ No newline at end of file
}
packages/flutter_test/test/matchers_test.dart
View file @
32d65fef
...
...
@@ -630,4 +630,4 @@ class _FakeSemanticsNode extends SemanticsNode {
SemanticsData
data
;
@override
SemanticsData
getSemanticsData
()
=>
data
;
}
\ No newline at end of file
}
packages/flutter_tools/test/base/process_test.dart
View file @
32d65fef
...
...
@@ -92,4 +92,4 @@ void main() {
});
}
class
PlainMockProcessManager
extends
Mock
implements
ProcessManager
{}
\ No newline at end of file
class
PlainMockProcessManager
extends
Mock
implements
ProcessManager
{}
packages/flutter_tools/test/ios/ios_workflow_test.dart
View file @
32d65fef
...
...
@@ -381,4 +381,4 @@ class CocoaPodsTestTarget extends CocoaPodsValidator {
@override
final
bool
hasHomebrew
;
}
\ No newline at end of file
}
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