Interactive pull-to-refresh animation tutorial: Create magic with Rive and Flutter

Interactive pull-to-refresh animation tutorial: Create magic with Rive and Flutter

Rive

1 год назад

4,161 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

1879heikkisorsa
1879heikkisorsa - 20.07.2023 12:03

I think your reasoning about the Visibility widget is wrong. If visible = false, it's not "forgotten" but just hidden/not rendered. It will still do the init work. Test this for example in a Visibility widget and set it to visible = false and you'll see a print from it:
class Example extends StatefulWidget {
Example();
_ExampleState createState() => _ExampleState();
}
class _ExampleState extends State<Example> {
@override
void initState() {
_getThingsOnStartup().then((value){
print('Async done');
});
super.initState();
}
@override
Widget build(BuildContext context) {
return Container();
}
Future _getThingsOnStartup() async {
await Future.delayed(Duration(seconds: 2));
}
}

Ответить
Pranav Rishi
Pranav Rishi - 15.07.2023 20:59

Good content.
Please make more content and especially like these.
These little features are easy to implement and understand for a beginner.

Expert people in flutter don't need your tutorials, they know how to do things.
We beginners need guide to use these.
So make videos about these little features, it'll will help us a lot and you'll surely get more views n all.

My suggestion :
You could make videos about using animated shopping cart button, using play pause button, omelet radio button, how to use animated objects in your projects to make it look better, etc...
And I emphasize on targeting flutter newbie learner audience.

Hope this helps ❤

Ответить
Seter MD
Seter MD - 06.07.2023 19:45

i think there is a typo in title (pefresh- refresh)

Ответить