Products Part 1 – Introduction
Products Part 1 – Introduction
What we’ll cover:
Take a look at the dummyjson.com free JSON service
Ability to test Authentication
Retrieve records with Authentication Token
Create a Project called products
Separate Business Logic
UI/UX
Create Models needed for API calls
Auth Model
Auth Error Model
Product Model
Products List Model
Create Services to make API Calls
API Values Service
Authentication Service
Connection Service – Check Internet Connection
Product List Service
Product Service
Create Reusable Widgets
Products ListView
Products ListView Item 1
Products ListView Item 2
Products ListView Card
Star Rating
Status Message
Create Helpers
App Helpers
Performance – Rebuild only what is needed by using…
StreamBuilder
Streams
ValueListenableBuilder
ValueNotifier
Parse JSON server response via json.decode
Parse JSON Via compute – Spawn a Isolate
Parse JSON Via Isolate.spawn – Manually spawn Isolate plus message
Retrieve Records via pagination
ScrollController
ScrollController Listener
ScrollController check scrolling offset and maxScroll Extent to retrieve the next 10 records
Themes
Light Mode
Dark Mode
Switch Between Modes
Version Control
GitHub
GitHub: https://github.com/JediPixels/products
Blog Article: https://jedipixels.dev/flutter-produc...
Twitter: https://twitter.com/JediPixels
Looking for Updates: https://JediPixels.dev
#flutter #fluttertutorial #dart #flutterdev #flutterdeveloper #appdevelopment
-
UPCOMING
The Quartering
1 hour agoKamala Harris LIVE On Fox News Townhall! Disaster Cringe Incoming! Live Fact Check & Laughts
3.02K3 -
LIVE
The Body Language Guy
1 hour agoObama SCOLDING Biden, Kamala HIDES, Trump SURGES and MOAR!
1,506 watching -
LIVE
Candace Show Podcast
1 hour agoAre They Breeding Politicians? | Candace Ep 84
13,392 watching -
DVR
In The Litter Box w/ Jewels & Catturd
19 hours agoGovernment vs. Citizens | In the Litter Box w/ Jewels & Catturd – Ep. 670 – 10/16/2024
27.8K13 -
12:37
Howard Lutnick
2 hours agoMy take on building President Donald Trump's second administration and his economic policies
19.1K9 -
LIVE
Darkhorse Podcast
4 hours agoThe 247th Evolutionary Lens with Bret Weinstein and Heather Heying
1,661 watching -
LIVE
MRCAGEGAMING
4 hours agoMass Effect Legendary Edition
344 watching -
LIVE
Revenge of the Cis
1 hour agoLocals Episode 181: Doughnut
370 watching -
LIVE
ACTIVE MEASURES
3 hours agoACTIVE MEASURES EPISODE 18: Unraveling Empire
227 watching -
51:48