mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-10-31 08:56:01 +08:00 
			
		
		
		
	Fixes build (tests), adding ditance method to position, fix linting (formating, quotes), removed uneeded new keywords everywhere
This commit is contained in:
		| @ -23,14 +23,14 @@ class MyHomePage extends StatefulWidget { | ||||
|  | ||||
| class _MyHomePageState extends State<MyHomePage> { | ||||
|   void _clickFab(GlobalKey<ScaffoldState> key) { | ||||
|     key.currentState.showSnackBar(new SnackBar( | ||||
|       content: new Text('You clicked the FAB!'), | ||||
|     key.currentState.showSnackBar(SnackBar( | ||||
|       content: Text('You clicked the FAB!'), | ||||
|     )); | ||||
|   } | ||||
|  | ||||
|   @override | ||||
|   Widget build(BuildContext context) { | ||||
|     final key = new GlobalKey<ScaffoldState>(); | ||||
|     final key = GlobalKey<ScaffoldState>(); | ||||
|     return Scaffold( | ||||
|       key: key, | ||||
|       appBar: AppBar( | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Luan Nico
					Luan Nico