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
31828609
Commit
31828609
authored
Apr 25, 2017
by
Alexandre Ardhuin
Committed by
GitHub
Apr 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add @required (#9579)
parent
c288c706
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
colors_demo.dart
examples/flutter_gallery/lib/demo/colors_demo.dart
+4
-1
shrine_order.dart
examples/flutter_gallery/lib/demo/shrine/shrine_order.dart
+1
-1
single_child_scroll_view.dart
...ges/flutter/lib/src/widgets/single_child_scroll_view.dart
+2
-1
build_apk.dart
packages/flutter_tools/lib/src/commands/build_apk.dart
+6
-1
No files found.
examples/flutter_gallery/lib/demo/colors_demo.dart
View file @
31828609
...
...
@@ -81,7 +81,10 @@ class PaletteTabView extends StatelessWidget {
static
const
List
<
int
>
primaryKeys
=
const
<
int
>[
50
,
100
,
200
,
300
,
400
,
500
,
600
,
700
,
800
,
900
];
static
const
List
<
int
>
accentKeys
=
const
<
int
>[
100
,
200
,
400
,
700
];
PaletteTabView
({
Key
key
,
this
.
colors
})
:
super
(
key:
key
)
{
PaletteTabView
({
Key
key
,
@required
this
.
colors
,
})
:
super
(
key:
key
)
{
assert
(
colors
!=
null
&&
colors
.
isValid
);
}
...
...
examples/flutter_gallery/lib/demo/shrine/shrine_order.dart
View file @
31828609
...
...
@@ -325,7 +325,7 @@ class _OrderPageState extends State<OrderPage> {
// final value of the order field.
class
ShrineOrderRoute
extends
ShrinePageRoute
<
Order
>
{
ShrineOrderRoute
({
this
.
order
,
@required
this
.
order
,
WidgetBuilder
builder
,
RouteSettings
settings:
const
RouteSettings
(),
})
:
super
(
builder:
builder
,
settings:
settings
)
{
...
...
packages/flutter/lib/src/widgets/single_child_scroll_view.dart
View file @
31828609
...
...
@@ -4,6 +4,7 @@
import
'dart:math'
as
math
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/rendering.dart'
;
import
'basic.dart'
;
...
...
@@ -177,7 +178,7 @@ class _SingleChildViewport extends SingleChildRenderObjectWidget {
class
_RenderSingleChildViewport
extends
RenderBox
with
RenderObjectWithChildMixin
<
RenderBox
>
implements
RenderAbstractViewport
{
_RenderSingleChildViewport
({
AxisDirection
axisDirection:
AxisDirection
.
down
,
ViewportOffset
offset
,
@required
ViewportOffset
offset
,
RenderBox
child
,
})
:
_axisDirection
=
axisDirection
,
_offset
=
offset
{
...
...
packages/flutter_tools/lib/src/commands/build_apk.dart
View file @
31828609
...
...
@@ -16,7 +16,12 @@ import 'build.dart';
export
'../android/android_device.dart'
show
AndroidDevice
;
class
ApkKeystoreInfo
{
ApkKeystoreInfo
({
this
.
keystore
,
this
.
password
,
this
.
keyAlias
,
@required
this
.
keyPassword
})
{
ApkKeystoreInfo
({
@required
this
.
keystore
,
this
.
password
,
this
.
keyAlias
,
@required
this
.
keyPassword
,
})
{
assert
(
keystore
!=
null
);
}
...
...
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