major refactoring

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-05-27 19:59:34 +05:30
parent 99afb0ba8e
commit 839ced618b
106 changed files with 4263 additions and 1937 deletions
@@ -132,10 +132,9 @@ class ChannelInfo extends StatelessWidget {
vertical: VisualDensity.minimumDensity,
),
),
onPressed: () async {
await client.disconnect();
await client.connect();
},
onPressed: () => client
..closeConnection()
..openConnection(),
child: Text(
'Try Again',
style: textStyle?.copyWith(