Comments (4)
I guess the repository is not complete
I just guess it because I didn't found all the folders you describe on the README.md
for media feature.
Thanks for explain it (and for the repository, it was really useful)
💯
from movies_app.
I guess the repository is not complete. Is just a POC, because some features have missing folders
from movies_app.
what is the purpose of this one?
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:movies_app/features/people/models/person.dart'; final currentPopularPersonProvider = Provider<AsyncValue<Person>>((ref) { throw UnimplementedError(); });
The currentPopularPersonProvider
is the provider used inside the PopularPersonListItem
widget and is the provider that gets populated with every list item data.
It is initialized as UnimplementedError
at first so that its value stays non-nullable and because we are sure that we will not access this provider before we override it in the parent PopularPeopleList
widget
return ProviderScope(
overrides: [
currentPopularPersonProvider
.overrideWithValue(currentPopularPersonFromIndex)
],
child: const PopularPersonListItem(),
);
And this way it's protected from being accessed without it being assigned a value (overridden) because it will throw an error.
Feel free to read about the implementation of infinite scroll in detail in the README
from movies_app.
I guess the repository is not complete. Is just a POC, because some features have missing folders
All the features that exist in the repo are complete but there is space for extra features to be added by me or contributors.
Please let me know if there is anything missing from an existing feature.
from movies_app.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from movies_app.