Skip to content

Commit

Permalink
tmp: added componentValue
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan-Crane committed May 20, 2022
1 parent c93d54a commit ab2cd38
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/src/components/component.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ abstract class Component {
void init() {}
void reset() {}
}

abstract class ComponentValue<T extends Object> extends Component {
T? value;

@override
void init() {}
@override
void reset() {}
}

0 comments on commit ab2cd38

Please sign in to comment.