#learning #responsive
https://medium.com/@amitsingh506142/responsive-ui-widgets-in-flutter-building-stunning-ui-for-all-devices-168e00108b12
https://medium.com/@amitsingh506142/responsive-ui-widgets-in-flutter-building-stunning-ui-for-all-devices-168e00108b12
Medium
Responsive UI Widgets in Flutter: Building Stunning UI for All Devices
As we all know first impressions is always matter, your app user interface is the key to capturing user’s attention.
#learning #productivity
https://medium.com/@alexandersnotes/how-to-improve-flutter-code-with-extension-methods-99854a29692c
https://medium.com/@alexandersnotes/how-to-improve-flutter-code-with-extension-methods-99854a29692c
Medium
Don’t write Theme.of(context) ANYMORE
Writing Flutter UI code could sometimes be too repetitive, fortunately, we could solve this by adding extension methods that Flutter…
Bookmark this page that serves as a cheatsheet with the valid combinations of Class Modifiers
https://dart.dev/language/modifier-reference
https://dart.dev/language/modifier-reference
dart.dev
Class modifiers reference
The allowed and disallowed combinations of class modifiers.
#news
On Thursday (7/13) this week, Material 3 will become the default for all Flutter Apps.
Follow the PR:
https://github.com/flutter/flutter/issues/127064
On Thursday (7/13) this week, Material 3 will become the default for all Flutter Apps.
Follow the PR:
https://github.com/flutter/flutter/issues/127064
GitHub
☂️ Make `useMaterial3: true` by default · Issue #127064 · flutter/flutter
Making Material 3 the default is the last big step in our long (long) transition from Material 2 to Material 3. Currently apps must opt-in to Material 3 with the useMaterial3 flag that appears in a...
#performance
Source:
https://twitter.com/_incendial/status/1679134565158342660?t=hNA2zfnNrUOGDL6agHcjow&s=19
map.keys.contains
is 6000 times slower than map.containsKeys
Source:
https://twitter.com/_incendial/status/1679134565158342660?t=hNA2zfnNrUOGDL6agHcjow&s=19
#learning
Ever wandered how to create a Homescreen Widget for your smartphone with Flutter?
There is a new codelab tutorial, released yesterday!
https://codelabs.developers.google.com/flutter-home-screen-widgets#0
Ever wandered how to create a Homescreen Widget for your smartphone with Flutter?
There is a new codelab tutorial, released yesterday!
https://codelabs.developers.google.com/flutter-home-screen-widgets#0
Google Codelabs
Adding a Home Screen widget to your Flutter App | Google Codelabs
In this codelab, you’ll create a Home Screen widget for your iOS or Android Flutter app. You’ll start with a basic Flutter news app. You’ll then use native frameworks to create the UI for the widgets themselves. Finally, you’ll learn how to share resources…
#package
While most Gherkin packages seem to be without maintainers.
There is still hope with "BDD Framework"
https://pub.dev/packages/bdd_framework
While most Gherkin packages seem to be without maintainers.
There is still hope with "BDD Framework"
https://pub.dev/packages/bdd_framework
Dart packages
bdd_framework | Flutter package
BDD framework for Dart/Flutter. Lets you create BDD tests in code, and gives you easy to read error messages when assertions fail. Exports to Gherkin/Cucumber feature files.
#tip
With latest versions its now possible to loop through the indexes of an array.
https://api.dart.dev/stable/3.1.0/dart-collection/IterableExtensions/indexed.html
With latest versions its now possible to loop through the indexes of an array.
final items = [‘A’, ‘B’, ‘C’];
for(final (index, item) in items.indexed) {
print('item $item at $index');
}
https://api.dart.dev/stable/3.1.0/dart-collection/IterableExtensions/indexed.html
api.dart.dev
indexed property - IterableExtensions extension - dart:collection library - Dart API
API docs for the indexed property from the IterableExtensions extension, for the Dart programming language.