Open in app

Sign In

Write

Sign In

Mastodon
Rei
Rei

2K Followers

Home

Lists

About

Published in

ITNEXT

·2 days ago

Make your Flutter code generation much faster with two lines of code!

Dart & Flutter Tips: Faster, Lighter, and Happier! Better Developer Experience in Flutter/Dart. — Code generation tools are great! They give us clean, easy-to-manage, and bug-resistant, type-safe code and save us a lot of development time. However, you may notice that build_runner slows down as the project grows. It’s because build_runner analyzes the entire project by default. So, the more we add new files…

Dart

2 min read

Make your Flutter code generation much faster with two lines of code!
Make your Flutter code generation much faster with two lines of code!
Dart

2 min read


Published in

ITNEXT

·Sep 12

The hidden cost of async operations in Flutter/Dart

This is why you should refrain from using the async keyword recklessly! — Have you ever thought your redundant async keywords make you slower? Probably not. Then let’s see some benchmarks and see how they affect your app’s performance. Here are the functions that I’m going to test. void a() {} // does nothing void b() async {} // does nothing Note: Actually, using…

Flutter

4 min read

The hidden cost of async operations in Flutter/Dart
The hidden cost of async operations in Flutter/Dart
Flutter

4 min read


Published in

ITNEXT

·Jul 10

Do you know how to write a function? Then you know Riverpod!

Many people think that riverpod is hard to learn, but is it really true? — Hey fellow developers! Today, I want to talk about a certain topic that everyone complains about. Nowadays, I see many people that say “riverpod has a steep learning curve, It’s not easy like others” etc. When I see these kinds of comments, I go home, crawl under my bed, cry…

Flutter

10 min read

Do you know how to write a function? Then you know Riverpod!
Do you know how to write a function? Then you know Riverpod!
Flutter

10 min read


Published in

ITNEXT

·Jun 5

Class modifiers in Dart 3.0: abstract, interface, base, and sealed. OH MY!

Yes! We’re all confused! but this article may help you understand a bit better! — Class modifiers are one of the biggest features in the Dart 3. They are pretty handy, but also confusing. Let’s discuss why we need them and how we can use them with comprehensible examples! But, before we get into modifiers, I would like to mention extends, implements, and with keywords…

Flutter

8 min read

Class modifiers in Dart 3.0: abstract, interface, base, and sealed. OH MY!
Class modifiers in Dart 3.0: abstract, interface, base, and sealed. OH MY!
Flutter

8 min read


Published in

ITNEXT

·May 29

The most important Flutter 3.10 feature that nobody talks about

You can increase your app's performance drastically with just a couple of tweaks! — Flutter 3.10 is finally available, and it has a long-awaited feature (at least for me). I think using MediaQuery as an InheritedModel is one of the most important improvements in Flutter. Let me tell you why! Example

Flutter

3 min read

The most important Flutter 3.10 feature that nobody talks about
The most important Flutter 3.10 feature that nobody talks about
Flutter

3 min read


Published in

ITNEXT

·May 22

Dart 3.0 Records are great, but why do we need them anyway?

Dart 3.0 and Flutter 3.10 are out with three great powers: records, patterns, and class modifiers. But why and how? — Dart 3.0 is announced at Google IO 2023 with some exciting features like, Records Patterns Class Modifiers In this article, I want to talk about only records (I’ll cover others later) Before we get into the records, I’d like to talk about why we needed them and what the other…

Dart

5 min read

Dart 3.0 Records are great, but why do we need them anyway?
Dart 3.0 Records are great, but why do we need them anyway?
Dart

5 min read


Published in

ITNEXT

·May 6

8 Useful Tips for Better UX in Flutter

Humanity always pays attention to complex matters, but mostly little improvements make the difference. — Your app may work perfectly—crazy fast, no exceptions, no errors, no crashes—as expected. But if you don’t give the users a smooth, helpful experience, your product will be a regular app, not an awesome one. Even worse, users may be dissatisfied with the experience and go crazy over time. …

Flutter

4 min read

8 Useful Tips for Better UX in Flutter
8 Useful Tips for Better UX in Flutter
Flutter

4 min read


Published in

ITNEXT

·Feb 13

Reduce your server cost with Riverpod

Optimize your API requests & app performance through useful extensions. — In this article, I’ll focus on riverpod and how we can use it for caching, as well as how it can help us decrease our API requests. I’ll also talk about debouncing and canceling server requests. In order to understand the caching system of riverpod, we should understand the lifecycle…

Dart

5 min read

Reduce your server cost with Riverpod
Reduce your server cost with Riverpod
Dart

5 min read


Published in

ITNEXT

·Jan 16

Seamless Infinite List with Riverpod in Flutter

Take your list to infinity and beyond! Prevent unnecessary calculations and stops on every page request! — In this article, I’ll talk about how to achieve an infinite list without any holdbacks like a “loading” section at the end of the list or calculating operations like scroll position. Motivation

Flutter

5 min read

Seamless Infinite List with Riverpod in Flutter
Seamless Infinite List with Riverpod in Flutter
Flutter

5 min read


Published in

ITNEXT

·Dec 18, 2022

Write best performance ListView with Riverpod in Flutter

Take your ListView to the next level and prevent unnecessary rebuilds in your app! — ListView is one of the most used widgets, and we always use it the same old way, but most of us never know that it comes with its hidden cost! That’s why, in this series, I will show you the hidden costs and how to solve these problems. Example

Flutter

6 min read

Write best performance ListView with Riverpod in Flutter
Write best performance ListView with Riverpod in Flutter
Flutter

6 min read

Rei

Rei

2K Followers

https://rei.codes

Following
  • ✨ They Make Design ✨

    ✨ They Make Design ✨

  • Andrew Zuo

    Andrew Zuo

  • Nick Babich

    Nick Babich

  • Marc Andrew

    Marc Andrew

  • Alexey Inkin

    Alexey Inkin

See all (150)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams