Working on app that uses 2 Hive boxes in Flutter. My first time trying and after I made many changes I began getting error messages on launch:

[VERBOSE-2:shell.cc(89)] Dart Error: error: import of dart:mirrors is not supported in the current Dart runtime
[VERBOSE-2:dart_isolate.cc(144)] Could not prepare isolate.
[VERBOSE-2:runtime_controller.cc(389)] Could not create root isolate.
[VERBOSE-2:shell.cc(605)] Could not launch engine with configuration.

Error happens when launching main

import 'package:app/main_thing/main_thing_model.dart';
import 'package:app/respect_time/task.dart';
import 'package:flutter/material.dart';
import 'package:app/welcome_screen.dart';
import 'package:flutter/services.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:hive_flutter/hive_flutter.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]);
  await Hive.initFlutter();
  Hive.registerAdapter(MainThingModelAdapter());
  await Hive.openBox<MainThingModel>('main_thing');
  Hive.registerAdapter(TaskAdapter());
  await Hive.openBox<Task>('to_do_box');
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: WelcomeScreen(),
    );
  }
}

Here are my dependancies, which seem to be causing this error for others:

dependencies:
  flutter:
    sdk: flutter

  cupertino_icons: ^1.0.2
  google_fonts: ^3.0.1
  flutter_local_notifications: ^9.7.0
  intl: ^0.17.0
  timezone: ^0.8.0
  flutter_native_timezone: ^2.0.0
  hive_flutter: ^1.1.0
  hive: ^2.2.3
  equatable: ^2.0.3

dev_dependencies:
  flutter_test:
    sdk: flutter

  flutter_lints: ^2.0.0
  hive_generator: ^1.1.3
  build_runner: ^2.2.0

Any help identifying issue is greatly appreciated.