flutter.wtf
188 subscribers
32 links
What the Flutter is a software development company with strong expertise in Flutter & Mobile technology. Our service is to provide extremely talented developers, who are ready to solve the hardest business problems with Flutter.
Download Telegram
to view and join the conversation
#news #flutter2

What’s New in Flutter 2

After more than two years since the Flutter 1.0, Flutter Dev Team is pleased to announce the release of Flutter 2. Shortly, what's new:

👉 Web support has transitioned from beta to the stable
👉 Flutter 2 contains Dart 2.12 with Null Safety
👉 Flutter desktop has moved to Beta (stable channel)
👉 Google Mobile Ads SDK is available for Beta
👉 Flutter has gotten new iOS features
👉 Autocomplete and ScaffoldMessenger widgets
👉 Some improvements in Dart CLI, DevTools, IDEs extensions
#news #flutter2

What’s new in Flutter 2.2

The Flutter 2.2 release focuses on polish and optimization, including iOS performance improvements, Android deferred components, updated service worker for Flutter web and more. The main headlines:

👉 Aliases for types as well as for functions
👉 DevTools now supports the layout explorer for Flutter web
👉 Improvements in page transitions and incremental installs for iOS
👉 Comprehensive guide for building adaptive apps is now available
👉 Lots of desktop related enhancements (cursors, text editing, scrolling)

And last but not least: by now Play Store has more than 200K Flutter apps 🥳
#dart2 #nullsafety

Understanding null safety

Null safety is the largest change in Dart 2.12 (default Dart version since Flutter 2). Now all Flutter Developers have to clearly understand null safety and be able to work with it. That's why Dart team prepared this comprehensive article you need to read.
#adaptive #responsive #desktop #web

Building adaptive apps

One of the first things you must consider when bringing your app to multiple platforms is how to adapt it to the various sizes and shapes of the screens that it will run on.

The article headlines:

👉 Layout widgets
👉 Visual density
👉 Contextual layout
👉 Device segmentation
👉 Single source of truth for styling
👉 Input and keyboard accelerators
👉 Mouse enter, exit, and hover
👉 Common idioms and norms to consider
​​#ffi #integration

Foreign Function Interface 🔥

For C-based APIs, including those that can be generated for code written in modern languages like Rust or Go, Dart provides a direct mechanism for binding to native code using the dart:ffi library.

The foreign function interface (FFI) model can be considerably faster than platform channels, because no serialization is required to pass data. Instead, the Dart runtime provides the ability to allocate memory on the heap that is backed by a Dart object and make calls to statically or dynamically linked libraries. FFI is available for all platforms other than web, where the js pachage serves an equivalent purpose.

To use FFI, you create a typedef for each of the Dart and unmanaged method signatures, and instruct the Dart VM to map between them. As a simple example, here’s a fragment of code to call the traditional Win32 MessageBox() API:
#threading #asynchronous

Exploring Threading In Flutter

Threading in Flutter?! But they say it's single-threaded! Yes and no. Advanced Flutter Developers should know about the Embedder Protocol, that forces all embedders to have 4 threads:

👉 UI Runner
👉 GPU Runner
👉 IO Runner
👉 Platform Runner
#immutable #patterns

Immutable Data Patterns in Dart and Flutter

Immutable data constructs are those that cannot be mutated (altered) after they've been initialized. There are a number of advantages to using immutable data: thread safety, pass safety, project simplicity. But how to implement immutability in Dart?

The article headlines:

👉 Final variables vs. constants
👉 Immutable data in Flutter
👉 Creating your own immutable data classes
👉 Updating immutable data
#wtfshow #youtube #podcast

🔥 Обсуждаем новшества Flutter 2.0 | WTF Show #1

WTF Show – это формат, в котором мы обсуждаем все, что связано с миром Flutter, делимся накопленными знаниями и опытом, стараемся сделать так, чтобы как можно больше людей узнало о данной технологии.

❗️Это наш пилотный выпуск, поэтому не судите строго. Обещаем, что с каждым разом качество контента будет только расти 😉
#interview #wtfinterview

🔥 Собеседование Middle+ Flutter-разработчика | WTF Interview #2

Второй выпуск WTF Interview – формата, в котором мы приглашаем Flutter-разработчиков различного уровня пройти онлайн-собеседование по Flutter и проверяем, действительно ли наши гости соответствуют заявленному грейду.

Как всегда, не жалейте лайков и оставляйте комментарии ❤️
Сегодня на YouTube-канале выйдет кое-что очень необычное. Надеемся, вам понравится. Следите за обновлениями 😉
#battle #wtfbattle

Взаимное собеседование по Flutter (Саша vs Глеб) | WTF Battle #1

WTF Battle – это формат, в котором мы приглашаем двух Flutter-разработчиков, чтобы они взаимно прособесили друг друга. Победитель баттла получает славу и почет – проигравший уходит ни с чем.

В первом выпуске сразятся Саша и Глеб (участники двух предыдущих серий WTF Interview). Будет жарко 🔥

Поддержите, пожалуйста, лайками и комментариями ❤️
​​Завтра в 14:00 выйдет новый выпуск WTF Interview 🔥

По многочисленным просьбам, пригласили Junior-разработчика 😎
Недавно вышел Flutter 2.5 🎉

Завтра на нашем YouTube-канале появится полный обзор обновления.

А пока давайте тезисно разберем, что нового в Dart 2.14, который является неотъемлемой частью Flutter 2.5:

👉 Поддержка компиляции для Apple Silicon (ARM64).
👉 Официальный стандарт по правилам Dart-анализатора.
👉 Возможность добавления в библиотеки файла .pubignore.
👉 Улучшенная производительность команд pub и dart test.
👉 Триппл-шифт оператор (<<<) для логических сдвигов.
👉 Дженерики в аргументах функциональных типов.
👉 Минорные улучшения в библиотеке dart:core.

Подробнее про изменения в Dart 2.14 можно почитать в пресс-релизе.