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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 library immi_samples.sequenced_presenter; | 5 library immi_samples.sequenced_presenter; |
6 | 6 |
7 import 'package:immi/dart/immi.dart'; | 7 import 'package:immi/dart/immi.dart'; |
8 | 8 |
9 abstract class SequencedPresenter<T extends Node> { | 9 abstract class SequencedPresenter<T extends Node> { |
10 // Returns presentation graph for valid index otherwise null. | 10 // Returns presentation graph for valid index otherwise null. |
11 T presentAt(int index); | 11 T presentAt(int index); |
12 | 12 |
13 void toggleAt(int index); | 13 void toggleAt(int index); |
14 } | 14 } |
OLD | NEW |