mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[Effen] Point the stocks2 and components2 files at the forked libraries.
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1153223003
This commit is contained in:
parent
ad8d6de0d0
commit
bde2470ed6
@ -2,19 +2,19 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
// import 'package:sky/framework/components/tool_bar.dart';
|
||||
// import 'package:sky/framework/components/drawer.dart';
|
||||
// import 'package:sky/framework/components/drawer_header.dart';
|
||||
// import 'package:sky/framework/components/floating_action_button.dart';
|
||||
// import 'package:sky/framework/components/icon.dart';
|
||||
// import 'package:sky/framework/components/icon_button.dart';
|
||||
// import 'package:sky/framework/components/input.dart';
|
||||
// import 'package:sky/framework/components/menu_divider.dart';
|
||||
// import 'package:sky/framework/components/menu_item.dart';
|
||||
// import 'package:sky/framework/components/modal_overlay.dart';
|
||||
// import 'package:sky/framework/components/popup_menu.dart';
|
||||
// import 'package:sky/framework/components/radio.dart';
|
||||
// import 'package:sky/framework/components/scaffold.dart';
|
||||
// import 'package:sky/framework/components2/tool_bar.dart';
|
||||
// import 'package:sky/framework/components2/drawer.dart';
|
||||
// import 'package:sky/framework/components2/drawer_header.dart';
|
||||
// import 'package:sky/framework/components2/floating_action_button.dart';
|
||||
// import 'package:sky/framework/components2/icon.dart';
|
||||
// import 'package:sky/framework/components2/icon_button.dart';
|
||||
// import 'package:sky/framework/components2/input.dart';
|
||||
// import 'package:sky/framework/components2/menu_divider.dart';
|
||||
// import 'package:sky/framework/components2/menu_item.dart';
|
||||
// import 'package:sky/framework/components2/modal_overlay.dart';
|
||||
// import 'package:sky/framework/components2/popup_menu.dart';
|
||||
// import 'package:sky/framework/components2/radio.dart';
|
||||
// import 'package:sky/framework/components2/scaffold.dart';
|
||||
import 'package:sky/framework/fn2.dart';
|
||||
import 'package:sky/framework/theme/typography.dart' as typography;
|
||||
import 'package:sky/framework/theme/colors.dart';
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'package:sky/framework/components/fixed_height_scrollable.dart';
|
||||
import 'package:sky/framework/fn.dart';
|
||||
import 'package:sky/framework/components2/fixed_height_scrollable.dart';
|
||||
import 'package:sky/framework/fn2.dart';
|
||||
import 'stock_data.dart';
|
||||
import 'stock_row.dart';
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import 'package:sky/framework/fn.dart';
|
||||
import 'package:sky/framework/layout.dart';
|
||||
import 'package:sky/framework/components/popup_menu.dart';
|
||||
import 'package:sky/framework/components/checkbox.dart';
|
||||
import 'package:sky/framework/fn2.dart';
|
||||
import 'package:sky/framework/layout2.dart';
|
||||
import 'package:sky/framework/components2/popup_menu.dart';
|
||||
import 'package:sky/framework/components2/checkbox.dart';
|
||||
import 'package:sky/framework/theme/view_configuration.dart';
|
||||
|
||||
class StockMenu extends Component {
|
||||
|
||||
@ -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/framework/components/ink_well.dart';
|
||||
import 'package:sky/framework/fn.dart';
|
||||
import 'package:sky/framework/layout.dart';
|
||||
import 'package:sky/framework/components2/ink_well.dart';
|
||||
import 'package:sky/framework/fn2.dart';
|
||||
import 'package:sky/framework/layout2.dart';
|
||||
import 'package:sky/framework/theme/typography.dart' as typography;
|
||||
import 'stock_arrow.dart';
|
||||
import 'stock_data.dart';
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
import '../animation/animated_value.dart';
|
||||
import '../fn.dart';
|
||||
import '../fn2.dart';
|
||||
import 'dart:mirrors';
|
||||
|
||||
abstract class AnimatedComponent extends Component {
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import '../fn.dart';
|
||||
import '../fn2.dart';
|
||||
import 'ink_well.dart';
|
||||
import 'material.dart';
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import '../fn.dart';
|
||||
import '../fn2.dart';
|
||||
|
||||
abstract class ButtonBase extends Component {
|
||||
bool highlight = false;
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import '../fn.dart';
|
||||
import '../layout.dart';
|
||||
import '../fn2.dart';
|
||||
import '../layout2.dart';
|
||||
import 'button_base.dart';
|
||||
import 'dart:sky' as sky;
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
import 'animated_component.dart';
|
||||
import '../animation/animated_value.dart';
|
||||
import '../animation/curves.dart';
|
||||
import '../fn.dart';
|
||||
import '../fn2.dart';
|
||||
import '../theme/colors.dart';
|
||||
import 'dart:math' as math;
|
||||
import 'dart:sky' as sky;
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import '../fn.dart';
|
||||
import '../layout.dart';
|
||||
import '../fn2.dart';
|
||||
import '../layout2.dart';
|
||||
import '../theme/colors.dart';
|
||||
import '../theme/view_configuration.dart';
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
|
||||
import '../animation/scroll_behavior.dart';
|
||||
import '../debug/tracing.dart';
|
||||
import '../fn.dart';
|
||||
import '../fn2.dart';
|
||||
import 'dart:math' as math;
|
||||
import 'dart:async';
|
||||
import 'scrollable.dart';
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import '../fn.dart';
|
||||
import '../fn2.dart';
|
||||
import '../theme/colors.dart';
|
||||
import 'ink_well.dart';
|
||||
import 'material.dart';
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import '../fn.dart';
|
||||
import '../fn2.dart';
|
||||
|
||||
// TODO(eseidel): This should use package:.
|
||||
const String kAssetBase = '/packages/sky/assets/material-design-icons';
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import '../fn.dart';
|
||||
import '../fn2.dart';
|
||||
import 'icon.dart';
|
||||
|
||||
class IconButton extends Component {
|
||||
|
||||
@ -4,11 +4,11 @@
|
||||
|
||||
import '../animation/animated_value.dart';
|
||||
import '../animation/curves.dart';
|
||||
import '../fn.dart';
|
||||
import '../fn2.dart';
|
||||
import '../theme/view_configuration.dart' as config;
|
||||
import 'dart:async';
|
||||
import 'dart:math' as math;
|
||||
import '../layout.dart';
|
||||
import '../layout2.dart';
|
||||
|
||||
const double _kSplashConfirmedDuration = 350.0;
|
||||
const double _kSplashUnconfirmedDuration = config.kDefaultLongPressTimeout;
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import '../fn.dart';
|
||||
import '../layout.dart';
|
||||
import '../fn2.dart';
|
||||
import '../layout2.dart';
|
||||
import 'dart:collection';
|
||||
import 'dart:sky' as sky;
|
||||
import 'ink_splash.dart';
|
||||
|
||||
@ -5,8 +5,8 @@
|
||||
import '../editing/editable_string.dart';
|
||||
import '../editing/editable_text.dart';
|
||||
import '../editing/keyboard.dart';
|
||||
import '../fn.dart';
|
||||
import '../layout.dart';
|
||||
import '../fn2.dart';
|
||||
import '../layout2.dart';
|
||||
import '../theme/colors.dart';
|
||||
import '../theme/typography.dart' as typography;
|
||||
import 'dart:sky' as sky;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import '../fn.dart';
|
||||
import '../fn2.dart';
|
||||
import '../theme/shadows.dart';
|
||||
|
||||
class Material extends Component {
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import '../fn.dart';
|
||||
import '../fn2.dart';
|
||||
|
||||
class MenuDivider extends Component {
|
||||
static final Style _style = new Style('''
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import '../fn.dart';
|
||||
import '../layout.dart';
|
||||
import '../fn2.dart';
|
||||
import '../layout2.dart';
|
||||
import 'button_base.dart';
|
||||
import 'icon.dart';
|
||||
import 'ink_well.dart';
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import '../fn.dart';
|
||||
import '../fn2.dart';
|
||||
|
||||
class ModalOverlay extends Component {
|
||||
static final Style _style = new Style('''
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
|
||||
import 'animated_component.dart';
|
||||
import '../animation/animated_value.dart';
|
||||
import '../fn.dart';
|
||||
import '../fn2.dart';
|
||||
import '../theme/colors.dart';
|
||||
import 'dart:async';
|
||||
import 'dart:math' as math;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import '../fn.dart';
|
||||
import '../fn2.dart';
|
||||
import 'ink_well.dart';
|
||||
|
||||
class PopupMenuItem extends Component {
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import '../fn.dart';
|
||||
import '../fn2.dart';
|
||||
import 'button_base.dart';
|
||||
import 'ink_well.dart';
|
||||
|
||||
|
||||
@ -2,11 +2,11 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import '../fn.dart';
|
||||
import '../layout.dart';
|
||||
import '../fn2.dart';
|
||||
import '../layout2.dart';
|
||||
import 'drawer.dart';
|
||||
import 'floating_action_button.dart';
|
||||
import 'package:sky/framework/theme/typography.dart' as typography;
|
||||
import '../theme/typography.dart' as typography;
|
||||
|
||||
class Scaffold extends Component {
|
||||
static final Style _style = new Style('''
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
import '../animation/generators.dart';
|
||||
import '../animation/mechanics.dart';
|
||||
import '../animation/scroll_behavior.dart';
|
||||
import '../fn.dart';
|
||||
import '../fn2.dart';
|
||||
import '../theme/view_configuration.dart' as config;
|
||||
import 'dart:math' as math;
|
||||
import 'dart:sky' as sky;
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
import '../fn.dart';
|
||||
import '../layout.dart';
|
||||
import '../fn2.dart';
|
||||
import '../layout2.dart';
|
||||
import '../theme/view_configuration.dart';
|
||||
import 'material.dart';
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user