| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import 'package:immi/dart/immi.dart'; | 5 import 'package:immi/dart/immi.dart'; |
| 6 | 6 |
| 7 // Export generated code for nodes in drawer.immi | 7 // Export generated code for nodes in drawer.immi |
| 8 import 'package:immi/dart/drawer.dart'; | 8 import 'package:immi/dart/drawer.dart'; |
| 9 export 'package:immi/dart/drawer.dart'; | 9 export 'package:immi/dart/drawer.dart'; |
| 10 | 10 |
| 11 class Drawer { | 11 class Drawer { |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 void _toggleLeft() { | 57 void _toggleLeft() { |
| 58 _leftVisible = !_leftVisible; | 58 _leftVisible = !_leftVisible; |
| 59 if (_leftVisible && _rightVisible) _rightVisible = false; | 59 if (_leftVisible && _rightVisible) _rightVisible = false; |
| 60 } | 60 } |
| 61 | 61 |
| 62 void _toggleRight() { | 62 void _toggleRight() { |
| 63 _rightVisible = !_rightVisible; | 63 _rightVisible = !_rightVisible; |
| 64 if (_leftVisible && _rightVisible) _leftVisible = false; | 64 if (_leftVisible && _rightVisible) _leftVisible = false; |
| 65 } | 65 } |
| 66 } | 66 } |
| OLD | NEW |