have to put easyloading on FlutterEasyLoading, if on scaffold, mouse not
work
This commit is contained in:
		
							parent
							
								
									ac4b14292d
								
							
						
					
					
						commit
						71493c8e7e
					
				| @ -169,9 +169,7 @@ class _RemotePageState extends State<RemotePage> { | ||||
|         close(); | ||||
|         return false; | ||||
|       }, | ||||
|         child: FlutterEasyLoading( | ||||
|       child: Scaffold( | ||||
|               backgroundColor: MyTheme.canvasColor, | ||||
|           floatingActionButton: _showBar | ||||
|               ? null | ||||
|               : FloatingActionButton( | ||||
| @ -240,7 +238,8 @@ class _RemotePageState extends State<RemotePage> { | ||||
|                   ), | ||||
|                 ) | ||||
|               : null, | ||||
|               body: GestureDetector( | ||||
|           body: FlutterEasyLoading( | ||||
|             child: GestureDetector( | ||||
|                 onTap: () { | ||||
|                   if (_drag || _scroll) return; | ||||
|                   FFI.tap(_right); | ||||
| @ -288,6 +287,8 @@ class _RemotePageState extends State<RemotePage> { | ||||
|                     FFI.sendMouse('up', 'left'); | ||||
|                   } | ||||
|                 }, | ||||
|                 child: Container( | ||||
|                     color: MyTheme.canvasColor, | ||||
|                     child: Stack(children: [ | ||||
|                       ImagePaint(), | ||||
|                       CursorPaint(), | ||||
| @ -309,9 +310,9 @@ class _RemotePageState extends State<RemotePage> { | ||||
|                                 onChanged: handleInput, | ||||
|                               ), | ||||
|                       ), | ||||
|                 ]), | ||||
|                     ]))), | ||||
|           )), | ||||
|         )); | ||||
|     ); | ||||
|   } | ||||
| 
 | ||||
|   void close() { | ||||
|  | ||||
| @ -149,11 +149,9 @@ packages: | ||||
|   flutter_easyloading: | ||||
|     dependency: "direct main" | ||||
|     description: | ||||
|       path: "." | ||||
|       ref: HEAD | ||||
|       resolved-ref: "2d085c411dc262043b6173c3b962d3e66ce657b1" | ||||
|       url: "git://github.com/open-trade/flutter_easyloading" | ||||
|     source: git | ||||
|       path: flutter_easyloading | ||||
|       relative: true | ||||
|     source: path | ||||
|     version: "2.2.0" | ||||
|   flutter_spinkit: | ||||
|     dependency: transitive | ||||
|  | ||||
| @ -32,9 +32,9 @@ dependencies: | ||||
|   path_provider: ^1.6.24 | ||||
|   provider: ^4.3.2+2 | ||||
|   flutter_easyloading: | ||||
|     git: | ||||
|       url: git://github.com/open-trade/flutter_easyloading | ||||
|     #path: flutter_easyloading | ||||
|     #git: | ||||
|       #url: git://github.com/open-trade/flutter_easyloading | ||||
|     path: flutter_easyloading | ||||
|   tuple: ^1.0.1 | ||||
|   wakelock: ^0.2.1+1 | ||||
|   device_info: ^1.0.0  | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user