/*
Copyright 2019 fuwa
This file is part of CyberWOW.
CyberWOW is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
CyberWOW is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with CyberWOW. If not, see .
*/
import 'dart:async';
import 'dart:collection';
import 'package:flutter/material.dart';
import '../config.dart' as config;
import '../controller/daemon.dart' as daemon;
import '../controller/refresh.dart' as refresh;
import '../controller/rpc/rpc.dart' as rpc;
import '../controller/rpc/rpc2.dart' as rpc;
import '../controller/rpc/rpc2View.dart' as rpc2View;
import '../controller/rpc/rpcView.dart' as rpcView;
import '../helper.dart';
import '../logging.dart';
import 'prototype.dart';
import 'resyncing.dart';
import 'exiting.dart';
class SyncedState extends AppState {
final Queue stdout;
final StreamSink processInput;
final Stream processOutput;
final TextEditingController textController = TextEditingController();
int height;
bool synced = true;
bool userExit = false;
bool connected = true;
Map getInfo = {};
List