Closed LucyJeong closed 5 months ago
Did you wrap your whole app within SeoController
?
import 'package:seo/seo.dart';
void main() {
runApp(const App());
}
class App extends StatelessWidget {
const App({super.key});
@override
Widget build(BuildContext context) {
return SeoController(
enabled: true,
tree: WidgetTree(context: context),
child: MaterialApp(...),
);
}
}
no. I did warp just the class. I will try it.
I added AppText widget by link (it's exactly same code)
But, it's not working. look like this.
my version are Flutter 3.16.0 and Tools • Dart 3.2.0
my code is
error code is this.
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ The following TypeErrorImpl was thrown building Seo(dirty): Unexpected null value.
The relevant error-causing widget was: Seo Seo:file:///....lib/widgets/app_text.dart:19:16