mirror of
https://github.com/inventree/inventree-app.git
synced 2025-07-01 11:20:41 +00:00
Format Code and Add Format Checks to CI (#643)
* Remove unused lib/generated/i18n.dart * Use `fvm dart format .` * Add contributing guidelines * Enforce dart format * Add `dart format off` directive to generated files
This commit is contained in:
@ -6,7 +6,6 @@ import "package:flutter/material.dart";
|
||||
* Long-pressing on this will return the user to the home screen
|
||||
*/
|
||||
Widget backButton(BuildContext context, GlobalKey<ScaffoldState> key) {
|
||||
|
||||
return GestureDetector(
|
||||
onLongPress: () {
|
||||
// Display the menu
|
||||
@ -21,4 +20,4 @@ Widget backButton(BuildContext context, GlobalKey<ScaffoldState> key) {
|
||||
},
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user