Skip to content

Unhandled Exception: Bad state: Failed to load . #3479

Description

@simanlx

`import 'package:get/get.dart';
import 'about_us_logic.dart';

class AboutUsBinding extends Bindings {
@OverRide
void dependencies() {
Get.lazyPut(() => AboutUsLogic());
}
}
import 'package:get/get.dart';

class AboutUsLogic extends GetxController {

@OverRide
void onClose() {

super.onClose();

}
}

import 'package:flutter/material.dart';
import 'package:get/get_core/src/get_main.dart';
import 'package:get/get_instance/src/extension_instance.dart';

import 'about_us_logic.dart';

class AboutUsPage extends StatelessWidget {
final logic = Get.find();

AboutUsPage({super.key});

@OverRide
Widget build(BuildContext context) {
return Scaffold(

      body: Column(children: [],
      
      ),
    );

}
}`

跳转到这个页面就会报错 ** GOING TO ROUTE /contacts, isError [false]
[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: Bad state: Failed to load .

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions