You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ATTENTION: DO NOT USE THIS FIELD TO ASK SUPPORT QUESTIONS. USE THE PLATFORM CHANNELS FOR THIS. THIS SPACE IS DEDICATED ONLY FOR BUGS DESCRIPTION. Fill in the template. Issues that do not respect the model will be closed.
Describe the bug
I just added get to my pubspec.yaml file and wrapped with GetMaterialApp. I tried to run but failed and got
"Error: Type 'GetLifeCycleBase' not found."
ATTENTION: DO NOT USE THIS FIELD TO ASK SUPPORT QUESTIONS. USE THE PLATFORM CHANNELS FOR THIS. THIS SPACE IS DEDICATED ONLY FOR BUGS DESCRIPTION.
Fill in the template. Issues that do not respect the model will be closed.
Describe the bug
I just added get to my pubspec.yaml file and wrapped with GetMaterialApp. I tried to run but failed and got
"Error: Type 'GetLifeCycleBase' not found."
This is my main.dart code
import 'package:analyst_ji/core/theme/theme.dart';
import 'package:analyst_ji/features/auth/presentation/pages/expert_details_screen.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@OverRide
Widget build(BuildContext context) {
return GetMaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flutter Demo',
theme: AppTheme.lightThemeMode,
home: const ExpertDetailsScreen(),
);
}
}
Flutter Version:
Im using flutter version 3.22.2
Getx Version:
4.6.6
Describe on which device you found the bug:
Getting on ios simulator on macbook pro m2 chip
Minimal reproduce code
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.
@OverRide
Widget build(BuildContext context) {
return GetMaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flutter Demo',
theme: AppTheme.lightThemeMode,
home: const ExpertDetailsScreen(),
);
}
The text was updated successfully, but these errors were encountered: