fixed warnings
This commit is contained in:
@@ -1034,19 +1034,6 @@ class SettingsScreenState extends State<SettingsScreen>
|
||||
),
|
||||
],
|
||||
),
|
||||
ElevatedButton(
|
||||
onPressed: () {
|
||||
// Generate fake error details
|
||||
FlutterErrorDetails fakeErrorDetails = FlutterErrorDetails(
|
||||
exception: Exception('test'),
|
||||
stack: StackTrace.current,
|
||||
library: 'MyApp',
|
||||
context: ErrorDescription('test'),
|
||||
);
|
||||
showErrorScreen(context, fakeErrorDetails);
|
||||
},
|
||||
child: const Text('hiba_tesztelese'),
|
||||
),
|
||||
// developer options
|
||||
if (settings.developerMode)
|
||||
SplittedPanel(
|
||||
|
||||
@@ -37,7 +37,7 @@ class LoginScreenState extends State<LoginScreen> {
|
||||
BoxDecoration(color: AppColors.of(context).loginBackground),
|
||||
width: MediaQuery.of(context).size.width,
|
||||
height: MediaQuery.of(context).size.height,
|
||||
child: SafeArea(
|
||||
child: const SafeArea(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
|
||||
Reference in New Issue
Block a user