File tree 5 files changed +38
-12
lines changed
features/dashboard/presentation/screens 5 files changed +38
-12
lines changed Original file line number Diff line number Diff line change @@ -43,3 +43,8 @@ app.*.map.json
43
43
/android /app /debug
44
44
/android /app /profile
45
45
/android /app /release
46
+
47
+ # FVM Version Cache
48
+ .fvm /
49
+ .fvmrc
50
+ .vscode /settings.json
Original file line number Diff line number Diff line change 1
1
{
2
- "dart.lineLength" : 120
3
- }
2
+ "dart.lineLength" : 120 ,
3
+ "dart.flutterSdkPath" : " .fvm/versions/3.27.1"
4
+ }
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ class _DashboardViewState extends State<DashboardView> {
15
15
final size = MediaQuery .sizeOf (context);
16
16
return DefaultTabController (
17
17
length: 2 ,
18
- child: Column (
19
- crossAxisAlignment: CrossAxisAlignment .start,
18
+ child: ListView (
19
+ // crossAxisAlignment: CrossAxisAlignment.start,
20
20
children: < Widget > [
21
21
const SizedBox (height: 20 ),
22
22
Container (
Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ import 'package:socket_probe/my_app.dart';
5
5
void main () {
6
6
runApp (const MyApp ());
7
7
8
- doWhenWindowReady (() {
9
- final win = appWindow;
10
- win.minSize = const Size (1024 , 768 );
11
- win.size = const Size (1024 , 768 );
12
- win.alignment = Alignment .center;
13
- win.show ();
14
- });
8
+ // doWhenWindowReady(() {
9
+ // final win = appWindow;
10
+ // win.minSize = const Size(1024, 768);
11
+ // win.size = const Size(1024, 768);
12
+ // win.alignment = Alignment.center;
13
+ // win.show();
14
+ // });
15
15
}
Original file line number Diff line number Diff line change
1
+ import 'package:bitsdojo_window/bitsdojo_window.dart' ;
1
2
import 'package:flutter/material.dart' ;
2
3
import 'package:flutter_bloc/flutter_bloc.dart' ;
3
4
import 'package:socket_probe/common/themes/app_theme.dart' ;
@@ -8,9 +9,28 @@ import 'package:socket_probe/features/event_sockets/bloc/event_sockets_bloc.dart
8
9
import 'package:socket_probe/features/navigation/bloc/navigation_cubit.dart' ;
9
10
import 'package:socket_probe/features/wsprotocol/bloc/wsprotocol_bloc.dart' ;
10
11
11
- class MyApp extends StatelessWidget {
12
+ class MyApp extends StatefulWidget {
12
13
const MyApp ({super .key});
13
14
15
+ @override
16
+ State <MyApp > createState () => _MyAppState ();
17
+ }
18
+
19
+ class _MyAppState extends State <MyApp > {
20
+ @override
21
+ void initState () {
22
+ super .initState ();
23
+ WidgetsBinding .instance.addPostFrameCallback ((_) {
24
+ doWhenWindowReady (() {
25
+ final win = appWindow;
26
+ win.minSize = const Size (1024 , 768 );
27
+ win.size = const Size (1024 , 768 );
28
+ win.alignment = Alignment .center;
29
+ win.show ();
30
+ });
31
+ });
32
+ }
33
+
14
34
@override
15
35
Widget build (BuildContext context) {
16
36
return MultiBlocProvider (
You can’t perform that action at this time.
0 commit comments