fix: resolve Docker interface blank issue caused by LateInitializationError (#884)
This commit is contained in:
@@ -38,11 +38,6 @@ class ContainerNotifier extends _$ContainerNotifier {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
ContainerState build(SSHClient? client, String userName, String hostId, BuildContext context) {
|
ContainerState build(SSHClient? client, String userName, String hostId, BuildContext context) {
|
||||||
this.client = client;
|
|
||||||
this.userName = userName;
|
|
||||||
this.hostId = hostId;
|
|
||||||
this.context = context;
|
|
||||||
|
|
||||||
final type = Stores.container.getType(hostId);
|
final type = Stores.container.getType(hostId);
|
||||||
final initialState = ContainerState(type: type);
|
final initialState = ContainerState(type: type);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user