自动颤动的效果
下午好,
我正在尝试从代码运行测试应用程序
当我扩展 State 时,它会在代码调用中给出错误,而当我扩展 StatelessWidget 时,它不会在调用中给出错误,但它在我的 'StateMyApp' 中出现错误。 coloquei State Myapp mais é 。 Quando eu coloco entre as <>一些
我在哪里调用代码
return Stack(
fit: StackFit.loose,
children: [
PlaceholderHorarioMarcacoes(),
添加 StatelessWidget 时出错
class MyApp extends StatefulWidget {
@override
PlaceholderHorarioMarcacoes createState() => PlaceholderHorarioMarcacoes();
}
class PlaceholderHorarioMarcacoes extends StatelessWidget{
String _timeString;
[给出状态时出错][3]
class MyApp extends StatefulWidget {
@override
PlaceholderHorarioMarcacoes createState() => PlaceholderHorarioMarcacoes();
}
class PlaceholderHorarioMarcacoes extends State<MyApp>{
String _timeString;
}
Good afternoon
I'm trying to run a test application from code
When I extend the State it gives an error in the code call and when I extend the StatelessWidget it does not give an error in the call but it gives an error in my 'StateMyApp'. coloquei State Myapp mais é . Quando eu coloco entre as <> a palavra some
where do i call the code
return Stack(
fit: StackFit.loose,
children: [
PlaceholderHorarioMarcacoes(),
Error adding StatelessWidget
class MyApp extends StatefulWidget {
@override
PlaceholderHorarioMarcacoes createState() => PlaceholderHorarioMarcacoes();
}
class PlaceholderHorarioMarcacoes extends StatelessWidget{
String _timeString;
[Error giving State][3]
class MyApp extends StatefulWidget {
@override
PlaceholderHorarioMarcacoes createState() => PlaceholderHorarioMarcacoes();
}
class PlaceholderHorarioMarcacoes extends State<MyApp>{
String _timeString;
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论