OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 library components_input; |
| 6 |
5 import '../editing/editable_string.dart'; | 7 import '../editing/editable_string.dart'; |
6 import '../editing/editable_text.dart'; | 8 import '../editing/editable_text.dart'; |
7 import '../editing/keyboard.dart'; | 9 import '../editing/keyboard.dart'; |
8 import '../fn.dart'; | 10 import '../fn.dart'; |
9 import '../layout.dart'; | 11 import '../layout.dart'; |
10 import '../theme/colors.dart'; | 12 import '../theme/colors.dart'; |
11 import '../theme/typography.dart' as typography; | 13 import '../theme/typography.dart' as typography; |
12 import 'dart:sky' as sky; | 14 import 'dart:sky' as sky; |
13 | 15 |
14 typedef void ValueChanged(value); | 16 typedef void ValueChanged(value); |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 new FlexContainer( | 89 new FlexContainer( |
88 direction: FlexDirection.Column, | 90 direction: FlexDirection.Column, |
89 style: _style, | 91 style: _style, |
90 inlineStyle: focused ? _focusedInlineStyle : null, | 92 inlineStyle: focused ? _focusedInlineStyle : null, |
91 children: children | 93 children: children |
92 ), | 94 ), |
93 onPointerDown: (sky.Event e) => keyboard.showByRequest() | 95 onPointerDown: (sky.Event e) => keyboard.showByRequest() |
94 ); | 96 ); |
95 } | 97 } |
96 } | 98 } |
OLD | NEW |