FlutterBegin – Telegram
FlutterBegin
887 subscribers
347 photos
17 videos
16 files
136 links
Explore the latest in tech, AI, web development, and mobile apps. Stay updated, learn, and grow with us!

Contact: @at_myusername
Download Telegram
🍷 Optimistic Updates: Make Your App Feel Instant
Users hate waiting.
When they click "Like" ❤️ or "Add to Favorites" , they expect an immediate response. They don't want to watch a loading spinner for 2 seconds while the server thinks.
The Solution: Optimistic Updates
We update the UI immediately as if the request has already succeeded.
If the server confirms it? Great, we did nothing wrong.
If the server returns an error? We silently roll back the change.
How it looks in code (BLoC example):
Future<void> _addToFavorites( FavoritesAddRequest event, Emitter<FavoritesState> emit, ) async { final product = event.product; 
// 1. Update UI immediately (Optimistic) ⚡️

emit( state.copyWith( favorites: [...state.favorites, product.id], ), );

// 2. Make the network request 🌐

final result = await repository.addToFavorites(product.id);
// 3. Rollback if error 🔙

if (result.error != null) { final currentFavorites = state.favorites.toList(); currentFavorites.remove(product.id);
// Remove the item

emit( state.copyWith( favorites: currentFavorites, error: 'Failed to add ${product.noscript}', ), ); } }

⚠️ 3 Golden Rules:
Rollback is mandatory: If the server fails, you must revert the UI. Otherwise, you are lying to the user.
Not for everything: Do not use this for payments or critical data submissions. Use it for small interactions (Likes, To-Do checks, Bookmarks).
Keep it in the State: Don't do this inside the Widget (setState). Handle it in your BLoC/Provider to ensure logic consistency.

@FlutterBegin
Forwarded from Birhan Nega
ልክ እንደ ፌስታል, windows os ለcoding ቢከለከልልን 😎💻💻
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from Future Full-Stack
🎉 Welcome to Future Fullstack! 🚀

Hi everyone, I’m Shuayb! I’m super excited to share my web development journey with you all 🌐💻

Here’s what you can expect from this channel:

Daily Coding Tips 📝 — practical tips to level up your skills

Project Updates 🔄 — see what I’m currently building

Learning Moments 💡 — insights and lessons I pick up each day

Fun Challenges 🎯 — interactive exercises we can tackle together


Feel free to ask questions, share your thoughts, or just say hi! Let’s grow together in tech. I can’t wait to see where this journey takes us 💪

And if you know anyone interested in coding, invite them to join our community 🤝
2👍1
7 Misconceptions About Programming (and What’s Actually True):

You must be “good at math” to code
Programming is more about logic and problem-solving than advanced math.

You need to memorize syntax to be a programmer
Real programmers Google, read docs, and reuse patterns. Understanding logic matters more than memory.

Programming is only for smart or gifted people
Coding is a learnable skill. Consistency beats talent every time.

You must learn many languages to be successful
Master one language deeply first. Switching languages later becomes easy.

Programmers write perfect code in one go
Bugs are normal. Debugging is part of the job, not a failure.

Programming is only about writing code
It also involves reading code, fixing issues, collaborating, and thinking clearly.

Once you learn programming, you’re done
Tech evolves fast. Continuous learning is the real skill.


@FlutterBegin
👍5
🤡 The Dumbest Business Advice I’ve Ever Heard

“Just follow your passion.”
Sounds cute.
Feels inspiring.
Still... it’s terrible advice.

💸 1. Your Passion Doesn’t Pay the Bills — Value Does
Just because you love it doesn’t mean anyone will pay for it.

Passion is personal. Business is about solving other people’s problems.

⚙️ 2. You Can Love the Process, Not Just the Product
You don’t have to be obsessed with what you’re selling.
You can fall in love with building systems, solving problems, and growing something that works.

You’re building a business — not a fan club.

💀 3. Passion Won’t Save You When You’re Broke
The moment things get hard, “do what you love” stops sounding motivational and starts sounding delusional.

Focus on what works, then learn to love the freedom it gives you.

📊 4. The Best Businesses Solve Pain, Not Dreams
Look for demand, not desire.

Ask:

What are people already buying?

What’s annoying them daily?

Where can I solve it better or faster?

💡 5. Better Advice: Follow Opportunity, Grow Into Passion
Find where the market needs help.
Get obsessed with solving that problem.

Passion shows up when progress does.

Bottom line:
Passion makes a great fuel.
But without strategy, it’ll just burn you out.

@FlutterBegin
👍4🔥1😁1
How to Make a Good Impression

If you want to make a good impression, giving yourself the value you deserve is crucial. Before expecting people to value you, think well of you, and admire you, you have to value you, think well of you and admire you. Do you follow?

You can’t expect others to believe in you if you don’t believe in you, yet. Start being proud of yourself, of who you are, of where you come from, and of what you do for a living. This is not the time to be modest! Careful though. It’s also not the time to be arrogant. I’m talking about healthy self-esteem. Knowing who you are, knowing your strength, but also knowing that you are not better than anybody else (and remembering that nobody is better than you either).

Book: How to Become a People Magnet by Marc Reklau
🔥2
Forwarded from FlutterBegin
Everything You Need to Know About Flutter App Development👇👇👇

https://www.cometchat.com/blog/flutter-app-development


@FlutterBegin
🔥2
When you're not sure what to do, doing more is always a great default.

Action creates insights. Insights creates new actions.
🔥5
Asking for permission is insane.

First you apply to a college to get a degree that costs you $100K+.

Then you apply for a job to be chosen to earn a mediocre salary that barely covers rising living costs.

Then you apply to a bank to be gifted a 25 year mortgage that puts you in a mountain of debt.

These gatekeepers have control over you. You have very few options. And not much can go wrong or you'll lose everything.

Yet this is how the average person lives.

They're taught to love this life.

When they come across people like me who live a permissionless life and use the internet to do so...

They say "all that make money online stuff is a scam, an MLM, a pyramid scheme, I tell ya."

They don't even realize the real pyramid scheme is…

• Doing work you hate
• Being told what to do by a micromanaging boss
• Being fired for no reason with one hour's notice
• Worshipping a company brand that doesn't give a f*ck about you

Everyone makes money from the internet, even employees.

The real test of intelligence is whether you use the internet to:

• Find opportunities
• Self-promote
• Network

Or whether the internet uses you and makes you mad, lonely, outraged, and fill out application forms to apply for opportunities.

Once you see this insanity you can't unsee it.

Free yourself. Join the permissionless economy. - from some one
🔥2
Looking for the Right PC but Don’t Know Where to Start?

Most people are confused about where to buy a PC and how to choose the right one for their specific tasks.
That’s where we come in.
💻 At our store, you get the exact PC that fits your needs and budget.

Whether you are:
🎨 Graphics Designer
🌐 Website Developer
📱 Mobile Developer
🖥 Backend Developer
🎬 Video Editor
🎮 Gamer
Or any other professional

We help you choose the right performance for your work — no overspending, no underperforming systems.
PCs starting from 30,000 ETB, depending on your requirements and budget.

Contact Us on Telegram:
@abdelazizEbrahim and @aziz_computer

📞 Call Us:
0975805980
0900257878

🔗 Join Our Telegram Group:
https://news.1rj.ru/str/cactus_computer
👍3