Commit 12e3897f authored by Hixie's avatar Hixie

Stop exporting framework.dart from basic.dart, since we now have widgets.dart...

Stop exporting framework.dart from basic.dart, since we now have widgets.dart exporting all of framework.dart.
parent 1674ecb6
...@@ -9,6 +9,7 @@ import 'package:sky/editing/editable_string.dart'; ...@@ -9,6 +9,7 @@ import 'package:sky/editing/editable_string.dart';
import 'package:sky/painting/text_style.dart'; import 'package:sky/painting/text_style.dart';
import 'package:sky/rendering/object.dart'; import 'package:sky/rendering/object.dart';
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/framework.dart';
const _kCursorBlinkPeriod = 500; // milliseconds const _kCursorBlinkPeriod = 500; // milliseconds
const _kCursorGap = 1.0; const _kCursorGap = 1.0;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'package:sky/animation/animation_performance.dart'; import 'package:sky/animation/animation_performance.dart';
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/framework.dart';
abstract class AnimatedComponent extends StatefulComponent { abstract class AnimatedComponent extends StatefulComponent {
......
...@@ -9,8 +9,9 @@ import 'package:sky/animation/animation_performance.dart'; ...@@ -9,8 +9,9 @@ import 'package:sky/animation/animation_performance.dart';
import 'package:sky/animation/curves.dart'; import 'package:sky/animation/curves.dart';
import 'package:sky/base/lerp.dart'; import 'package:sky/base/lerp.dart';
import 'package:sky/painting/box_painter.dart'; import 'package:sky/painting/box_painter.dart';
import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/animated_component.dart'; import 'package:sky/widgets/animated_component.dart';
import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/framework.dart';
class AnimatedBoxConstraintsValue extends AnimatedValue<BoxConstraints> { class AnimatedBoxConstraintsValue extends AnimatedValue<BoxConstraints> {
AnimatedBoxConstraintsValue(BoxConstraints begin, { BoxConstraints end, Curve curve: linear }) AnimatedBoxConstraintsValue(BoxConstraints begin, { BoxConstraints end, Curve curve: linear })
......
...@@ -34,7 +34,6 @@ export 'package:sky/rendering/object.dart' show Point, Offset, Size, Rect, Color ...@@ -34,7 +34,6 @@ export 'package:sky/rendering/object.dart' show Point, Offset, Size, Rect, Color
export 'package:sky/rendering/proxy_box.dart' show BackgroundImage, BoxDecoration, BoxDecorationPosition, BoxShadow, Border, BorderSide, EdgeDims, Shape; export 'package:sky/rendering/proxy_box.dart' show BackgroundImage, BoxDecoration, BoxDecorationPosition, BoxShadow, Border, BorderSide, EdgeDims, Shape;
export 'package:sky/rendering/toggleable.dart' show ValueChanged; export 'package:sky/rendering/toggleable.dart' show ValueChanged;
export 'package:sky/rendering/viewport.dart' show ScrollDirection; export 'package:sky/rendering/viewport.dart' show ScrollDirection;
export 'package:sky/widgets/framework.dart' show Key, GlobalKey, Widget, Component, StatefulComponent, App, runApp, Listener, ParentDataNode;
// PAINTING NODES // PAINTING NODES
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/framework.dart';
abstract class ButtonBase extends StatefulComponent { abstract class ButtonBase extends StatefulComponent {
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/framework.dart';
import 'package:sky/widgets/material.dart'; import 'package:sky/widgets/material.dart';
const EdgeDims kCardMargins = const EdgeDims.all(4.0); const EdgeDims kCardMargins = const EdgeDims.all(4.0);
......
...@@ -4,12 +4,17 @@ ...@@ -4,12 +4,17 @@
import 'dart:async'; import 'dart:async';
import 'package:intl/date_symbols.dart';
import 'package:intl/intl.dart';
import 'package:sky/mojo/activity.dart'; import 'package:sky/mojo/activity.dart';
import 'package:sky/theme/colors.dart' as colors; import 'package:sky/theme/colors.dart' as colors;
import 'package:sky/theme/typography.dart' as typography; import 'package:sky/theme/typography.dart' as typography;
import 'package:sky/widgets.dart'; import 'package:sky/widgets/basic.dart';
import 'package:intl/intl.dart'; import 'package:sky/widgets/framework.dart';
import 'package:intl/date_symbols.dart'; import 'package:sky/widgets/gesture_detector.dart';
import 'package:sky/widgets/ink_well.dart';
import 'package:sky/widgets/scrollable.dart';
import 'package:sky/widgets/theme.dart';
typedef void DatePickerValueChanged(DateTime dateTime); typedef void DatePickerValueChanged(DateTime dateTime);
......
...@@ -10,6 +10,7 @@ import 'package:sky/theme/colors.dart' as colors; ...@@ -10,6 +10,7 @@ import 'package:sky/theme/colors.dart' as colors;
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/default_text_style.dart'; import 'package:sky/widgets/default_text_style.dart';
import 'package:sky/widgets/focus.dart'; import 'package:sky/widgets/focus.dart';
import 'package:sky/widgets/framework.dart';
import 'package:sky/widgets/gesture_detector.dart'; import 'package:sky/widgets/gesture_detector.dart';
import 'package:sky/widgets/material.dart'; import 'package:sky/widgets/material.dart';
import 'package:sky/widgets/navigator.dart'; import 'package:sky/widgets/navigator.dart';
......
...@@ -11,6 +11,7 @@ import 'package:sky/animation/forces.dart'; ...@@ -11,6 +11,7 @@ import 'package:sky/animation/forces.dart';
import 'package:sky/theme/colors.dart' as colors; import 'package:sky/theme/colors.dart' as colors;
import 'package:sky/theme/shadows.dart'; import 'package:sky/theme/shadows.dart';
import 'package:sky/widgets/animated_container.dart'; import 'package:sky/widgets/animated_container.dart';
import 'package:sky/widgets/framework.dart';
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/gesture_detector.dart'; import 'package:sky/widgets/gesture_detector.dart';
import 'package:sky/widgets/navigator.dart'; import 'package:sky/widgets/navigator.dart';
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/framework.dart';
import 'package:sky/widgets/theme.dart'; import 'package:sky/widgets/theme.dart';
class DrawerDivider extends Component { class DrawerDivider extends Component {
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
import 'package:sky/theme/view_configuration.dart'; import 'package:sky/theme/view_configuration.dart';
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/default_text_style.dart'; import 'package:sky/widgets/default_text_style.dart';
import 'package:sky/widgets/framework.dart';
import 'package:sky/widgets/theme.dart'; import 'package:sky/widgets/theme.dart';
// TODO(jackson): This class should usually render the user's // TODO(jackson): This class should usually render the user's
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'package:sky/theme/colors.dart'; import 'package:sky/theme/colors.dart';
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/framework.dart';
import 'package:sky/widgets/material_button.dart'; import 'package:sky/widgets/material_button.dart';
import 'package:sky/widgets/theme.dart'; import 'package:sky/widgets/theme.dart';
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/button_base.dart'; import 'package:sky/widgets/button_base.dart';
import 'package:sky/widgets/framework.dart';
import 'package:sky/widgets/gesture_detector.dart'; import 'package:sky/widgets/gesture_detector.dart';
import 'package:sky/widgets/icon.dart'; import 'package:sky/widgets/icon.dart';
import 'package:sky/widgets/ink_well.dart'; import 'package:sky/widgets/ink_well.dart';
......
...@@ -7,6 +7,7 @@ import 'package:sky/theme/shadows.dart'; ...@@ -7,6 +7,7 @@ import 'package:sky/theme/shadows.dart';
import 'package:sky/widgets/animated_container.dart'; import 'package:sky/widgets/animated_container.dart';
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/default_text_style.dart'; import 'package:sky/widgets/default_text_style.dart';
import 'package:sky/widgets/framework.dart';
import 'package:sky/widgets/theme.dart'; import 'package:sky/widgets/theme.dart';
enum MaterialType { canvas, card, circle, button } enum MaterialType { canvas, card, circle, button }
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/button_base.dart'; import 'package:sky/widgets/button_base.dart';
import 'package:sky/widgets/framework.dart';
import 'package:sky/widgets/gesture_detector.dart'; import 'package:sky/widgets/gesture_detector.dart';
import 'package:sky/widgets/ink_well.dart'; import 'package:sky/widgets/ink_well.dart';
import 'package:sky/widgets/material.dart'; import 'package:sky/widgets/material.dart';
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/framework.dart';
abstract class GlobalKeyWatcher extends StatefulComponent { abstract class GlobalKeyWatcher extends StatefulComponent {
GlobalKeyWatcher({ GlobalKeyWatcher({
......
...@@ -7,6 +7,7 @@ import 'package:sky/animation/animation_performance.dart'; ...@@ -7,6 +7,7 @@ import 'package:sky/animation/animation_performance.dart';
import 'package:sky/animation/curves.dart'; import 'package:sky/animation/curves.dart';
import 'package:sky/widgets/animated_component.dart'; import 'package:sky/widgets/animated_component.dart';
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/framework.dart';
import 'package:sky/widgets/mimic.dart'; import 'package:sky/widgets/mimic.dart';
class MimicOverlay extends AnimatedComponent { class MimicOverlay extends AnimatedComponent {
......
...@@ -7,6 +7,7 @@ import 'package:sky/animation/animation_performance.dart'; ...@@ -7,6 +7,7 @@ import 'package:sky/animation/animation_performance.dart';
import 'package:sky/animation/curves.dart'; import 'package:sky/animation/curves.dart';
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/focus.dart'; import 'package:sky/widgets/focus.dart';
import 'package:sky/widgets/framework.dart';
import 'package:sky/widgets/transitions.dart'; import 'package:sky/widgets/transitions.dart';
typedef Widget RouteBuilder(Navigator navigator, RouteBase route); typedef Widget RouteBuilder(Navigator navigator, RouteBase route);
......
...@@ -10,6 +10,7 @@ import 'package:sky/painting/box_painter.dart'; ...@@ -10,6 +10,7 @@ import 'package:sky/painting/box_painter.dart';
import 'package:sky/theme/colors.dart'; import 'package:sky/theme/colors.dart';
import 'package:sky/theme/shadows.dart'; import 'package:sky/theme/shadows.dart';
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/framework.dart';
import 'package:sky/widgets/navigator.dart'; import 'package:sky/widgets/navigator.dart';
import 'package:sky/widgets/popup_menu_item.dart'; import 'package:sky/widgets/popup_menu_item.dart';
import 'package:sky/widgets/scrollable.dart'; import 'package:sky/widgets/scrollable.dart';
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
import 'package:sky/painting/text_style.dart'; import 'package:sky/painting/text_style.dart';
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/default_text_style.dart'; import 'package:sky/widgets/default_text_style.dart';
import 'package:sky/widgets/framework.dart';
import 'package:sky/widgets/gesture_detector.dart'; import 'package:sky/widgets/gesture_detector.dart';
import 'package:sky/widgets/ink_well.dart'; import 'package:sky/widgets/ink_well.dart';
import 'package:sky/widgets/theme.dart'; import 'package:sky/widgets/theme.dart';
......
...@@ -7,6 +7,7 @@ import 'dart:sky' as sky; ...@@ -7,6 +7,7 @@ import 'dart:sky' as sky;
import 'package:sky/rendering/object.dart'; import 'package:sky/rendering/object.dart';
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/button_base.dart'; import 'package:sky/widgets/button_base.dart';
import 'package:sky/widgets/framework.dart';
import 'package:sky/widgets/gesture_detector.dart'; import 'package:sky/widgets/gesture_detector.dart';
import 'package:sky/widgets/theme.dart'; import 'package:sky/widgets/theme.dart';
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
import 'package:sky/theme/colors.dart' as colors; import 'package:sky/theme/colors.dart' as colors;
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/framework.dart';
import 'package:sky/widgets/material_button.dart'; import 'package:sky/widgets/material_button.dart';
import 'package:sky/widgets/theme.dart'; import 'package:sky/widgets/theme.dart';
......
...@@ -10,6 +10,7 @@ import 'package:sky/painting/text_style.dart'; ...@@ -10,6 +10,7 @@ import 'package:sky/painting/text_style.dart';
import 'package:sky/theme/typography.dart' as typography; import 'package:sky/theme/typography.dart' as typography;
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/default_text_style.dart'; import 'package:sky/widgets/default_text_style.dart';
import 'package:sky/widgets/framework.dart';
import 'package:sky/widgets/gesture_detector.dart'; import 'package:sky/widgets/gesture_detector.dart';
import 'package:sky/widgets/material.dart'; import 'package:sky/widgets/material.dart';
import 'package:sky/widgets/theme.dart'; import 'package:sky/widgets/theme.dart';
......
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
// found in the LICENSE file. // found in the LICENSE file.
import 'package:sky/theme/theme_data.dart'; import 'package:sky/theme/theme_data.dart';
import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/framework.dart'; import 'package:sky/widgets/framework.dart';
export 'package:sky/theme/theme_data.dart' show ThemeData, ThemeBrightness; export 'package:sky/theme/theme_data.dart' show ThemeData, ThemeBrightness;
......
...@@ -11,6 +11,7 @@ import 'package:sky/theme/typography.dart' as typography; ...@@ -11,6 +11,7 @@ import 'package:sky/theme/typography.dart' as typography;
import 'package:sky/theme/view_configuration.dart'; import 'package:sky/theme/view_configuration.dart';
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/default_text_style.dart'; import 'package:sky/widgets/default_text_style.dart';
import 'package:sky/widgets/framework.dart';
import 'package:sky/widgets/icon.dart'; import 'package:sky/widgets/icon.dart';
class ToolBar extends Component { class ToolBar extends Component {
......
...@@ -2,10 +2,11 @@ ...@@ -2,10 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
import 'package:sky/widgets/animated_component.dart';
import 'package:sky/animation/animation_performance.dart';
import 'package:sky/animation/animated_value.dart'; import 'package:sky/animation/animated_value.dart';
import 'package:sky/animation/animation_performance.dart';
import 'package:sky/widgets/animated_component.dart';
import 'package:sky/widgets/basic.dart'; import 'package:sky/widgets/basic.dart';
import 'package:sky/widgets/framework.dart';
import 'package:vector_math/vector_math.dart'; import 'package:vector_math/vector_math.dart';
export 'package:sky/animation/direction.dart' show Direction; export 'package:sky/animation/direction.dart' show Direction;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment