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
3053e876
Commit
3053e876
authored
Oct 09, 2015
by
Adam Barth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove circular imports of the material.dart library
parent
db3b9e80
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
21 additions
and
15 deletions
+21
-15
date_picker.dart
packages/flutter/lib/src/material/date_picker.dart
+2
-1
dialog.dart
packages/flutter/lib/src/material/dialog.dart
+2
-2
drawer.dart
packages/flutter/lib/src/material/drawer.dart
+2
-1
drawer_header.dart
packages/flutter/lib/src/material/drawer_header.dart
+1
-1
drawer_item.dart
packages/flutter/lib/src/material/drawer_item.dart
+1
-1
flat_button.dart
packages/flutter/lib/src/material/flat_button.dart
+1
-1
material.dart
packages/flutter/lib/src/material/material.dart
+2
-1
material_app.dart
packages/flutter/lib/src/material/material_app.dart
+0
-1
material_button.dart
packages/flutter/lib/src/material/material_button.dart
+1
-1
popup_menu.dart
packages/flutter/lib/src/material/popup_menu.dart
+1
-1
raised_button.dart
packages/flutter/lib/src/material/raised_button.dart
+1
-1
scaffold.dart
packages/flutter/lib/src/material/scaffold.dart
+2
-1
snack_bar.dart
packages/flutter/lib/src/material/snack_bar.dart
+2
-1
tool_bar.dart
packages/flutter/lib/src/material/tool_bar.dart
+3
-1
No files found.
packages/flutter/lib/src/material/date_picker.dart
View file @
3053e876
...
...
@@ -6,13 +6,14 @@ import 'dart:async';
import
'package:intl/date_symbols.dart'
;
import
'package:intl/intl.dart'
;
import
'package:sky/material.dart'
;
import
'package:sky/painting.dart'
;
import
'package:sky/services.dart'
;
import
'package:sky/widgets.dart'
;
import
'colors.dart'
;
import
'ink_well.dart'
;
import
'theme.dart'
;
import
'typography.dart'
;
typedef
void
DatePickerValueChanged
(
DateTime
dateTime
);
...
...
packages/flutter/lib/src/material/dialog.dart
View file @
3053e876
...
...
@@ -6,11 +6,11 @@ import 'dart:async';
import
'package:sky/animation.dart'
;
import
'package:sky/gestures.dart'
;
import
'package:sky/material.dart'
;
import
'package:sky/widgets.dart'
;
import
'
material
.dart'
;
import
'
colors
.dart'
;
import
'material_button.dart'
;
import
'material.dart'
;
import
'theme.dart'
;
typedef
Widget
DialogBuilder
(
NavigatorState
navigator
);
...
...
packages/flutter/lib/src/material/drawer.dart
View file @
3053e876
...
...
@@ -3,9 +3,10 @@
// found in the LICENSE file.
import
'package:sky/animation.dart'
;
import
'package:sky/material.dart'
;
import
'package:sky/widgets.dart'
;
import
'colors.dart'
;
import
'shadows.dart'
;
import
'theme.dart'
;
// TODO(eseidel): Draw width should vary based on device size:
...
...
packages/flutter/lib/src/material/drawer_header.dart
View file @
3053e876
...
...
@@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'package:sky/material.dart'
;
import
'package:sky/widgets.dart'
;
import
'constants.dart'
;
import
'theme.dart'
;
// TODO(jackson): This class should usually render the user's
...
...
packages/flutter/lib/src/material/drawer_item.dart
View file @
3053e876
...
...
@@ -5,10 +5,10 @@
import
'dart:sky'
as
sky
;
import
'package:sky/gestures.dart'
;
import
'package:sky/material.dart'
;
import
'package:sky/painting.dart'
;
import
'package:sky/widgets.dart'
;
import
'colors.dart'
;
import
'icon.dart'
;
import
'ink_well.dart'
;
import
'theme.dart'
;
...
...
packages/flutter/lib/src/material/flat_button.dart
View file @
3053e876
...
...
@@ -3,9 +3,9 @@
// found in the LICENSE file.
import
'package:sky/gestures.dart'
;
import
'package:sky/material.dart'
;
import
'package:sky/widgets.dart'
;
import
'colors.dart'
;
import
'material_button.dart'
;
import
'theme.dart'
;
...
...
packages/flutter/lib/src/material/material.dart
View file @
3053e876
...
...
@@ -4,9 +4,10 @@
import
'package:sky/animation.dart'
;
import
'package:sky/painting.dart'
;
import
'package:sky/material.dart'
;
import
'package:sky/widgets.dart'
;
import
'constants.dart'
;
import
'shadows.dart'
;
import
'theme.dart'
;
enum
MaterialType
{
canvas
,
card
,
circle
,
button
}
...
...
packages/flutter/lib/src/material/material_app.dart
View file @
3053e876
...
...
@@ -4,7 +4,6 @@
import
'dart:sky'
as
sky
;
import
'package:sky/material.dart'
;
import
'package:sky/painting.dart'
;
import
'package:sky/services.dart'
;
import
'package:sky/widgets.dart'
;
...
...
packages/flutter/lib/src/material/material_button.dart
View file @
3053e876
...
...
@@ -3,9 +3,9 @@
// found in the LICENSE file.
import
'package:sky/gestures.dart'
;
import
'package:sky/material.dart'
;
import
'package:sky/widgets.dart'
;
import
'colors.dart'
;
import
'ink_well.dart'
;
import
'material.dart'
;
import
'theme.dart'
;
...
...
packages/flutter/lib/src/material/popup_menu.dart
View file @
3053e876
...
...
@@ -6,12 +6,12 @@ import 'dart:async';
import
'dart:sky'
as
sky
;
import
'package:sky/animation.dart'
;
import
'package:sky/material.dart'
;
import
'package:sky/painting.dart'
;
import
'package:sky/widgets.dart'
;
import
'ink_well.dart'
;
import
'popup_menu_item.dart'
;
import
'shadows.dart'
;
import
'theme.dart'
;
const
Duration
_kMenuDuration
=
const
Duration
(
milliseconds:
300
);
...
...
packages/flutter/lib/src/material/raised_button.dart
View file @
3053e876
...
...
@@ -3,9 +3,9 @@
// found in the LICENSE file.
import
'package:sky/gestures.dart'
;
import
'package:sky/material.dart'
;
import
'package:sky/widgets.dart'
;
import
'colors.dart'
;
import
'material_button.dart'
;
import
'theme.dart'
;
...
...
packages/flutter/lib/src/material/scaffold.dart
View file @
3053e876
...
...
@@ -4,10 +4,11 @@
import
'dart:sky'
as
sky
;
import
'package:sky/material.dart'
;
import
'package:sky/rendering.dart'
;
import
'package:sky/widgets.dart'
;
import
'constants.dart'
;
class
Scaffold
extends
StatelessComponent
{
Scaffold
({
Key
key
,
...
...
packages/flutter/lib/src/material/snack_bar.dart
View file @
3053e876
...
...
@@ -4,12 +4,13 @@
import
'package:sky/animation.dart'
;
import
'package:sky/gestures.dart'
;
import
'package:sky/material.dart'
;
import
'package:sky/painting.dart'
;
import
'package:sky/widgets.dart'
;
import
'constants.dart'
;
import
'material.dart'
;
import
'theme.dart'
;
import
'typography.dart'
;
const
double
_kSideMargins
=
24.0
;
const
double
_kVerticalPadding
=
14.0
;
...
...
packages/flutter/lib/src/material/tool_bar.dart
View file @
3053e876
...
...
@@ -2,12 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'package:sky/material.dart'
;
import
'package:sky/painting.dart'
;
import
'package:sky/widgets.dart'
;
import
'constants.dart'
;
import
'icon.dart'
;
import
'shadows.dart'
;
import
'theme.dart'
;
import
'typography.dart'
;
class
ToolBar
extends
StatelessComponent
{
ToolBar
({
...
...
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