mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
27 lines
587 B
Dart
27 lines
587 B
Dart
import 'package:equatable/equatable.dart';
|
|
import 'package:graphview/GraphView.dart';
|
|
|
|
abstract class HomeState extends Equatable {
|
|
const HomeState();
|
|
|
|
@override
|
|
List<Object> get props => [];
|
|
}
|
|
|
|
class HomeInitial extends HomeState {}
|
|
|
|
class HomeCounterState extends HomeState {
|
|
final int counter;
|
|
const HomeCounterState(this.counter);
|
|
}
|
|
|
|
class HomeUpdateTree extends HomeState {
|
|
final Graph graph;
|
|
final BuchheimWalkerConfiguration builder;
|
|
|
|
const HomeUpdateTree({required this.graph, required this.builder});
|
|
|
|
@override
|
|
List<Object> get props => [graph, builder];
|
|
}
|