New post on /r/flutterdev subreddit:
New app - Flutter or React Native please suggest?
I am a database developer(SQL/PLSQL), and I also know core PHP, little bit of Frontend (HTML,JS and CSS) , Want to venture in App development, Have a new project in hand to develop a health exercise app based on user profile, this is for a doctor who needs an app for his patients.Please suggest me weather to use with Flutter or React Native? Please suggest on below high level requirementsBoth Android/IOS apps needed(i have a PC not a MAC)User based login systemAdmin Page to assign exercises to patientsVideo exercises (May be I'll embed YouTube videos)User notificationsGraphs(good to have)
January 24, 2022 at 05:57AM by TheSumMustBe7
https://ift.tt/3tXpIL9
New app - Flutter or React Native please suggest?
I am a database developer(SQL/PLSQL), and I also know core PHP, little bit of Frontend (HTML,JS and CSS) , Want to venture in App development, Have a new project in hand to develop a health exercise app based on user profile, this is for a doctor who needs an app for his patients.Please suggest me weather to use with Flutter or React Native? Please suggest on below high level requirementsBoth Android/IOS apps needed(i have a PC not a MAC)User based login systemAdmin Page to assign exercises to patientsVideo exercises (May be I'll embed YouTube videos)User notificationsGraphs(good to have)
January 24, 2022 at 05:57AM by TheSumMustBe7
https://ift.tt/3tXpIL9
reddit
New app - Flutter or React Native please suggest?
I am a database developer(SQL/PLSQL), and I also know core PHP, little bit of Frontend (HTML,JS and CSS) , Want to venture in App development,...
New post on /r/flutterdev subreddit:
Hydrated Bloc: Persist and Restore Your Bloc State/Data
https://ift.tt/33ZjDTx
January 24, 2022 at 07:07AM by Red_Star25
https://ift.tt/3u1cRrc
Hydrated Bloc: Persist and Restore Your Bloc State/Data
https://ift.tt/33ZjDTx
January 24, 2022 at 07:07AM by Red_Star25
https://ift.tt/3u1cRrc
Dhruv Nakum
Hydrated Bloc: Persist and Restore Your Bloc State/Data
How to persist and restore data of your Bloc using Hydrated Bloc?
New post on /r/flutterdev subreddit:
Isar 2.0 released (a NoSQL database from the creator of Hive)
https://ift.tt/335FBSi
January 24, 2022 at 06:53AM by zxyzyxz
https://ift.tt/3KET9HE
Isar 2.0 released (a NoSQL database from the creator of Hive)
https://ift.tt/335FBSi
January 24, 2022 at 06:53AM by zxyzyxz
https://ift.tt/3KET9HE
GitHub
GitHub - isar/isar: Extremely fast, easy to use, and fully async NoSQL database for Flutter
Extremely fast, easy to use, and fully async NoSQL database for Flutter - GitHub - isar/isar: Extremely fast, easy to use, and fully async NoSQL database for Flutter
New post on /r/flutterdev subreddit:
My new project somehow broke my old project...not sure why.
So...the old project had older dependencies such that null-safety and such wouldn't be an issue. The new project was fully up to date, however. But now I can't run/build my old project and I don't know what to do at all or what questions I need to even ask. Please help.
January 24, 2022 at 07:35AM by Syntaximus
https://ift.tt/3tYKMRH
My new project somehow broke my old project...not sure why.
So...the old project had older dependencies such that null-safety and such wouldn't be an issue. The new project was fully up to date, however. But now I can't run/build my old project and I don't know what to do at all or what questions I need to even ask. Please help.
January 24, 2022 at 07:35AM by Syntaximus
https://ift.tt/3tYKMRH
reddit
My new project somehow broke my old project...not sure why.
So...the old project had older dependencies such that null-safety and such wouldn't be an issue. The new project was fully up to date, however. ...
New post on /r/flutterdev subreddit:
UI gallery
What is your favorite flutter design gallery that you use to get inspiration from?
January 24, 2022 at 08:15AM by huff_elliott
https://ift.tt/35bwQct
UI gallery
What is your favorite flutter design gallery that you use to get inspiration from?
January 24, 2022 at 08:15AM by huff_elliott
https://ift.tt/35bwQct
reddit
UI gallery
What is your favorite flutter design gallery that you use to get inspiration from?
New post on /r/flutterdev subreddit:
Display a MaterialBanner when your internet connection is unavailable.
Just published my first package to pub https://pub.dev/packages/internet_checker_bannerinternet_checker_banner display a MaterialBanner when your Internet connection is bad or unavailable, and close it otherwise. The plugin determine if the device is currently connected to the global network (has access to the Internet).Let me know if there's anything you'd like to see added to it.
January 24, 2022 at 10:09AM by Berthold_sossa
https://ift.tt/3FPzl0V
Display a MaterialBanner when your internet connection is unavailable.
Just published my first package to pub https://pub.dev/packages/internet_checker_bannerinternet_checker_banner display a MaterialBanner when your Internet connection is bad or unavailable, and close it otherwise. The plugin determine if the device is currently connected to the global network (has access to the Internet).Let me know if there's anything you'd like to see added to it.
January 24, 2022 at 10:09AM by Berthold_sossa
https://ift.tt/3FPzl0V
Dart packages
internet_checker_banner | Flutter Package
Display a MaterialBanner when your internet connection is unavailable.
New post on /r/flutterdev subreddit:
My first Medium Article!!!! ➡️ Functional Programming Error Handling in Flutter
https://ift.tt/3AyAuZB
January 24, 2022 at 11:07AM by mariopepsicola
https://ift.tt/3fQ80AS
My first Medium Article!!!! ➡️ Functional Programming Error Handling in Flutter
https://ift.tt/3AyAuZB
January 24, 2022 at 11:07AM by mariopepsicola
https://ift.tt/3fQ80AS
Medium
Functional Error Handling in Flutter
Better and safer error handling
New post on /r/flutterdev subreddit:
Flutter vs Kotlin Multiplatform Mobile (not a holywar)
TL;DR: huge topic, but hope former native devs will found it interestingMy case is that i'm experienced dev/arch and i was pushed to build mobile App for one startup.I specifically decided to ask question in FlutterDev channel rather than in Android/iOS Native ones.At work i used and use a bunch of languages, so Dart vs Kotlin doesn't matter for me.I'm completely green in mobile direction, so wanted to ask experienced Mobile Devs to confirm or deny my concerns in choosing right stack.As always in this question it was:UI:- found Compose and SwiftUI pretty similar and less boilerplate (little difference) than Flutter itself - it's less LOC/capacity of code to write native visually complex widget for specific platform than crossplatform widget in Flutter (I also take into account UI branching in Flutter, such that Spinner should be different in iOS and Android).- found Compose and SwiftUI much more boilerplate than Flutter for visually simple but interactively complex widgets. For example - Horizontal Pager with custom paddings, layouts and different widget positions on different horizontal lines (with different gestures) within single Pager (it was realworld case).Backend/Repository layer:- found Flutter graphql is way ahead , even almost mature as Apollo for JS. apollo-kotlin is several miles behind, a lot of issues, absolutely inconvenient usage after graphql-flutterLibraries (my most huge concerns):- Didn't find specific benchmarks for Hybrid Composition, but found a lot of issues on Github where people complain about performance in some specific cases (even on Android 10+)- 3D graphics, i used filament in KMM and it was outstanding, didn't find bindings or similar pub- Company was forced to use specific Vector Maps backend (but i think it is true for any other) and packages in Flutter are in a very early stage for this problem. I have choice to write Hybrid Composition for both platforms since Vector Maps provider deliver Android and iOS client libraries or to go hard way and impl the client library itself.- ML: i have a prototype using tflite_flutter_plugin but it was a huge mistake, used workarounds several times hitting segfaults and other memory usage issues (it's very risky to use it in production on hundred of different devices). Ended up with Flutter Channels for platform specific clients.At the end:Currently i have KMM in production, but besides all listed above - SwiftUI -> KMM shared module interaction is a pain.I'm building second mobile APP using Flutter (it's like a duo app project for different roles, first is already implemented in KMM) and it's like a fighting question in my head - was it better to choose KMM or to stick with Flutter, since every stack has very contradictory pros and cons:KMM: writing and copying SwiftUI style from Compose and fighting with Swift -> KMM shared module interaction.Flutter: Hybrid Composition and Channels are huge boilerplates. Also even i'm working in enterprise world constantly with five-six-seven+ different languages (but each of them for specific domain, purpose, high-level task) - it's very very very annoying to build Client application using three languages at the same time with boilerplate to glue them.When i'm thinking about this two technologies i'm asking myself - is copying and writing SwiftUI was easier for iOS than writing Hybrid Composition / Channels for both ? Am i missing something ?
January 24, 2022 at 12:03PM by kitsen_battousai
https://ift.tt/3Iwji9P
Flutter vs Kotlin Multiplatform Mobile (not a holywar)
TL;DR: huge topic, but hope former native devs will found it interestingMy case is that i'm experienced dev/arch and i was pushed to build mobile App for one startup.I specifically decided to ask question in FlutterDev channel rather than in Android/iOS Native ones.At work i used and use a bunch of languages, so Dart vs Kotlin doesn't matter for me.I'm completely green in mobile direction, so wanted to ask experienced Mobile Devs to confirm or deny my concerns in choosing right stack.As always in this question it was:UI:- found Compose and SwiftUI pretty similar and less boilerplate (little difference) than Flutter itself - it's less LOC/capacity of code to write native visually complex widget for specific platform than crossplatform widget in Flutter (I also take into account UI branching in Flutter, such that Spinner should be different in iOS and Android).- found Compose and SwiftUI much more boilerplate than Flutter for visually simple but interactively complex widgets. For example - Horizontal Pager with custom paddings, layouts and different widget positions on different horizontal lines (with different gestures) within single Pager (it was realworld case).Backend/Repository layer:- found Flutter graphql is way ahead , even almost mature as Apollo for JS. apollo-kotlin is several miles behind, a lot of issues, absolutely inconvenient usage after graphql-flutterLibraries (my most huge concerns):- Didn't find specific benchmarks for Hybrid Composition, but found a lot of issues on Github where people complain about performance in some specific cases (even on Android 10+)- 3D graphics, i used filament in KMM and it was outstanding, didn't find bindings or similar pub- Company was forced to use specific Vector Maps backend (but i think it is true for any other) and packages in Flutter are in a very early stage for this problem. I have choice to write Hybrid Composition for both platforms since Vector Maps provider deliver Android and iOS client libraries or to go hard way and impl the client library itself.- ML: i have a prototype using tflite_flutter_plugin but it was a huge mistake, used workarounds several times hitting segfaults and other memory usage issues (it's very risky to use it in production on hundred of different devices). Ended up with Flutter Channels for platform specific clients.At the end:Currently i have KMM in production, but besides all listed above - SwiftUI -> KMM shared module interaction is a pain.I'm building second mobile APP using Flutter (it's like a duo app project for different roles, first is already implemented in KMM) and it's like a fighting question in my head - was it better to choose KMM or to stick with Flutter, since every stack has very contradictory pros and cons:KMM: writing and copying SwiftUI style from Compose and fighting with Swift -> KMM shared module interaction.Flutter: Hybrid Composition and Channels are huge boilerplates. Also even i'm working in enterprise world constantly with five-six-seven+ different languages (but each of them for specific domain, purpose, high-level task) - it's very very very annoying to build Client application using three languages at the same time with boilerplate to glue them.When i'm thinking about this two technologies i'm asking myself - is copying and writing SwiftUI was easier for iOS than writing Hybrid Composition / Channels for both ? Am i missing something ?
January 24, 2022 at 12:03PM by kitsen_battousai
https://ift.tt/3Iwji9P
GitHub
GitHub - apollographql/apollo-kotlin: :rocket: A strongly-typed, caching GraphQL client for the JVM, Android, and Kotlin multiplatform.
:rocket: A strongly-typed, caching GraphQL client for the JVM, Android, and Kotlin multiplatform. - apollographql/apollo-kotlin
New post on /r/flutterdev subreddit:
Flutter Challenge is back on the 1st of February!
/r/FlutterChallenges/comments/sbkpfu/flutter_challenge_is_back_on_the_1st_of_february/
January 24, 2022 at 01:04PM by dtengeri
https://ift.tt/3FPVxrC
Flutter Challenge is back on the 1st of February!
/r/FlutterChallenges/comments/sbkpfu/flutter_challenge_is_back_on_the_1st_of_february/
January 24, 2022 at 01:04PM by dtengeri
https://ift.tt/3FPVxrC
Reddit
From the FlutterDev community on Reddit: Flutter Challenge is back on the 1st of February!
Posted by dtengeri - 3 votes and no comments
New post on /r/flutterdev subreddit:
<b>Tried to implements clean architecture but getting error List<dynamic> is not a subtype of Map<String, dynamic></b>
Hey, Guy's I working on my projects where I tried to implement a clean architecture with the bloc for that I follow <a href="https://devmuaz.medium.com/flutter-clean-architecture-series-part-1-d2d4c2e75c47">this article</a> which can explain each and every step very clear and easy way but it was the first time to follow that pattern for use packages like <a href="https://pub.dev/packages/retrofit">retrofit</a> <a href="https://pub.dev/packages/dio">dio</a> <a href="https://pub.dev/packages/json_serializable">json_serializable</a> and generated models and services.Issue:<pre>Unhandled Exception: DioError [DioErrorType.other]: type 'List<dynamic>' is not a subtype of type 'Map<String, dynamic>' in type cast </pre>every time I call to get the user function to get the user data (JSON file below) it shows the above error.JSON Response:<pre>[ { "id": 3, "uid": "aoUXxUVkLlgP1jswYM3JTW0f02H3", "display_name": "Kevin Rebort", "email": "kevinrebort@gmail.com", "password": "", "phone_number": "", "photo": "", "email_verified": true, "is_anonymous": false, "is_active": true, "provider": "google.com", "language": "hindi", "dark_theme": false, "layout": "card", "refresh_token": "", "tenant_id": "", "created_at": "2022-01-20T11:55:58.839138+00:00", "last_login": "2022-01-20T11:55:58.839138+00:00" } ] </pre>Note: For every request-response is the same (CURD) or thus is the only response.User Param: core/param/user_param.dart<pre>class UserRequestParam { final String userId; UserRequestParam(this.userId); } </pre>Core Usecases: Core/usecases/usecases.dart<pre>abstract class UseCase<T, P> { Future<T> call({P params}); } </pre>User Entities: data/entities/user.dart<pre>import 'package:equatable/equatable.dart'; class User extends Equatable { final int? id; final String uid; final String? displayName; final String? email; final String? password; final String? phoneNumber; final String? photo; final bool? emailVerified; final bool? isAnonymous; final bool? isActive; final String? provider; final String? language; final bool? darkTheme; final String? layout; final String? refreshToken; final String? tenantId; final String? createdAt; final String? lastLogin; const User({ this.id, required this.uid, this.displayName, this.email, this.password, this.phoneNumber, this.photo, this.emailVerified, this.isAnonymous, this.isActive, this.provider, this.language, this.darkTheme, this.layout, this.refreshToken, this.tenantId, this.createdAt, this.lastLogin, }); @override bool get stringify => true; @override List<Object?> get props { return [ id, uid, displayName, email, password, phoneNumber, photo, emailVerified, isAnonymous, isActive, provider, language, darkTheme, layout, refreshToken, tenantId, createdAt, lastLogin, ]; } } </pre>UserModel: data/model/user_model.dart<pre>import 'package:equatable/equatable.dart'; import 'package:json_annotation/json_annotation.dart'; part 'user.g.dart'; @JsonSerializable() class UserModel extends Equatable { final int? id; final String? uid; @JsonKey(name: 'display_name') final String? displayName; final String? email; final String? password; @JsonKey(name: 'phone_number') final String? phoneNumber; final String? photo; @JsonKey(name: 'email_verified') final bool? emailVerified; @JsonKey(name: 'is_anonymous') final bool? isAnonymous; @JsonKey(name: 'is_active') final bool? isActive; final String? provider; final String? language; @JsonKey(name: 'dark_theme') final bool? darkTheme; final String? layout; @JsonKey(name: 'refresh_token') final String? refreshToken; @JsonKey(name: 'tenant_id') final String? tenantId; @JsonKey(name: 'created_at') final String? createdAt; @JsonKey(name: 'last_login') final String? lastLogin; const UserModel({ this.id, this.uid, this.displayName, this.email, this.password, this.phoneNumber, this.photo, this.emailVerified, this.isAnonymous, this.isActive, this.provider, this.language, this.darkTheme…
<b>Tried to implements clean architecture but getting error List<dynamic> is not a subtype of Map<String, dynamic></b>
Hey, Guy's I working on my projects where I tried to implement a clean architecture with the bloc for that I follow <a href="https://devmuaz.medium.com/flutter-clean-architecture-series-part-1-d2d4c2e75c47">this article</a> which can explain each and every step very clear and easy way but it was the first time to follow that pattern for use packages like <a href="https://pub.dev/packages/retrofit">retrofit</a> <a href="https://pub.dev/packages/dio">dio</a> <a href="https://pub.dev/packages/json_serializable">json_serializable</a> and generated models and services.Issue:<pre>Unhandled Exception: DioError [DioErrorType.other]: type 'List<dynamic>' is not a subtype of type 'Map<String, dynamic>' in type cast </pre>every time I call to get the user function to get the user data (JSON file below) it shows the above error.JSON Response:<pre>[ { "id": 3, "uid": "aoUXxUVkLlgP1jswYM3JTW0f02H3", "display_name": "Kevin Rebort", "email": "kevinrebort@gmail.com", "password": "", "phone_number": "", "photo": "", "email_verified": true, "is_anonymous": false, "is_active": true, "provider": "google.com", "language": "hindi", "dark_theme": false, "layout": "card", "refresh_token": "", "tenant_id": "", "created_at": "2022-01-20T11:55:58.839138+00:00", "last_login": "2022-01-20T11:55:58.839138+00:00" } ] </pre>Note: For every request-response is the same (CURD) or thus is the only response.User Param: core/param/user_param.dart<pre>class UserRequestParam { final String userId; UserRequestParam(this.userId); } </pre>Core Usecases: Core/usecases/usecases.dart<pre>abstract class UseCase<T, P> { Future<T> call({P params}); } </pre>User Entities: data/entities/user.dart<pre>import 'package:equatable/equatable.dart'; class User extends Equatable { final int? id; final String uid; final String? displayName; final String? email; final String? password; final String? phoneNumber; final String? photo; final bool? emailVerified; final bool? isAnonymous; final bool? isActive; final String? provider; final String? language; final bool? darkTheme; final String? layout; final String? refreshToken; final String? tenantId; final String? createdAt; final String? lastLogin; const User({ this.id, required this.uid, this.displayName, this.email, this.password, this.phoneNumber, this.photo, this.emailVerified, this.isAnonymous, this.isActive, this.provider, this.language, this.darkTheme, this.layout, this.refreshToken, this.tenantId, this.createdAt, this.lastLogin, }); @override bool get stringify => true; @override List<Object?> get props { return [ id, uid, displayName, email, password, phoneNumber, photo, emailVerified, isAnonymous, isActive, provider, language, darkTheme, layout, refreshToken, tenantId, createdAt, lastLogin, ]; } } </pre>UserModel: data/model/user_model.dart<pre>import 'package:equatable/equatable.dart'; import 'package:json_annotation/json_annotation.dart'; part 'user.g.dart'; @JsonSerializable() class UserModel extends Equatable { final int? id; final String? uid; @JsonKey(name: 'display_name') final String? displayName; final String? email; final String? password; @JsonKey(name: 'phone_number') final String? phoneNumber; final String? photo; @JsonKey(name: 'email_verified') final bool? emailVerified; @JsonKey(name: 'is_anonymous') final bool? isAnonymous; @JsonKey(name: 'is_active') final bool? isActive; final String? provider; final String? language; @JsonKey(name: 'dark_theme') final bool? darkTheme; final String? layout; @JsonKey(name: 'refresh_token') final String? refreshToken; @JsonKey(name: 'tenant_id') final String? tenantId; @JsonKey(name: 'created_at') final String? createdAt; @JsonKey(name: 'last_login') final String? lastLogin; const UserModel({ this.id, this.uid, this.displayName, this.email, this.password, this.phoneNumber, this.photo, this.emailVerified, this.isAnonymous, this.isActive, this.provider, this.language, this.darkTheme…
Medium
Flutter Clean Architecture Series — Part 1
Sounds awesome? well, wait till we finish the app 😎!
New post on /r/flutterdev subreddit:
Top 3 Ways to Create A Button with Icon and Text in Flutter - FlutterBeads
https://ift.tt/3u2eqVQ
January 24, 2022 at 01:50PM by pinkeshdarji
https://ift.tt/3tQXi5y
Top 3 Ways to Create A Button with Icon and Text in Flutter - FlutterBeads
https://ift.tt/3u2eqVQ
January 24, 2022 at 01:50PM by pinkeshdarji
https://ift.tt/3tQXi5y
FlutterBeads
Top 3 Ways to Create A Flutter Button with Icon and Text - FlutterBeads
<span class="rt-reading-time" style="display: block;"><span class="rt-label rt-prefix"></span> <span class="rt-time">4</span> <span class="rt-label rt-postfix">min read</span></span> Buttons are essential components for any app. It allows users to perform…
New post on /r/flutterdev subreddit:
Flutter Tap Weekly Newsletter Week 119 - Tutorials, videos, packages, and much more!
https://ift.tt/3KDOuG8
January 24, 2022 at 03:07PM by vensign
https://ift.tt/3KPH3Mj
Flutter Tap Weekly Newsletter Week 119 - Tutorials, videos, packages, and much more!
https://ift.tt/3KDOuG8
January 24, 2022 at 03:07PM by vensign
https://ift.tt/3KPH3Mj
Fluttertap
Newsletter Issue 119
Flutter Tap newsletter with the latest of Flutter. Articles, tutorials, videos and much more - Issue 119
New post on /r/flutterdev subreddit:
How to Upload Flutter Project on GitHub | Bring Remote Repo Locally
https://ift.tt/3nVRWCm
January 24, 2022 at 05:54PM by rrtutors
https://ift.tt/3rLBgyn
How to Upload Flutter Project on GitHub | Bring Remote Repo Locally
https://ift.tt/3nVRWCm
January 24, 2022 at 05:54PM by rrtutors
https://ift.tt/3rLBgyn
Rrtutors
How to Upload Flutter Project on GitHub | Bring Remote Repo Locally | A - Z | 2022
What is Git and how to upload flutter project on to github
New tweet from FlutterDev:
👾 Have you joined our Hackathon? Try your hand at a fun coding project and see what you can do with Flutter! Submit your solutions with us for a chance to be featured. #FlutterPuzzleHack 🥳 Get started 👉 https://t.co/fH3oUV69UE https://t.co/MyOuxBofGD— Flutter (@FlutterDev) Jan 24, 2022
January 24, 2022 at 06:00PM
https://twitter.com/FlutterDev/status/1485658662790217734
👾 Have you joined our Hackathon? Try your hand at a fun coding project and see what you can do with Flutter! Submit your solutions with us for a chance to be featured. #FlutterPuzzleHack 🥳 Get started 👉 https://t.co/fH3oUV69UE https://t.co/MyOuxBofGD— Flutter (@FlutterDev) Jan 24, 2022
January 24, 2022 at 06:00PM
https://twitter.com/FlutterDev/status/1485658662790217734
Flutter Puzzle Hack
Push your creativity to its limits by reimagining this classic puzzle!
New post on /r/flutterdev subreddit:
fast_ui | An alternative to GetX
https://ift.tt/3Asryow
January 24, 2022 at 06:35PM by Rexios80
https://ift.tt/3GWLbHW
fast_ui | An alternative to GetX
https://ift.tt/3Asryow
January 24, 2022 at 06:35PM by Rexios80
https://ift.tt/3GWLbHW
Dart packages
fast_ui | Flutter Package
A collection of Flutter packages aimed to make UI development faster
New post on /r/flutterdev subreddit:
10 Best Mobile App Prototyping Tools for Better UI/UX Designs - Today's TechWorld
https://ift.tt/33NarSz
January 24, 2022 at 06:29PM by alok1141
https://ift.tt/3ICketx
10 Best Mobile App Prototyping Tools for Better UI/UX Designs - Today's TechWorld
https://ift.tt/33NarSz
January 24, 2022 at 06:29PM by alok1141
https://ift.tt/3ICketx
Today's TechWorld
10 Best Mobile App Prototyping Tools for Better UI/UX Designs - Today's TechWorld
Mobile app prototyping tools are important factor in any mobile app designing process. In this article we have described 10 best mobile app prototyping tools for better UI/UX design.
New post on /r/flutterdev subreddit:
Tell me why would I have to use a third party package to handle the state
Don't get me wrong, I'm not challenging anyone, it's just that I've heard of so many libraries to handle the state that so far I don't find them very useful, they contaminate the code at the end it seems that you weren't coding for Flutter.
January 24, 2022 at 07:36PM by andrefedev
https://ift.tt/3ogc2Yf
Tell me why would I have to use a third party package to handle the state
Don't get me wrong, I'm not challenging anyone, it's just that I've heard of so many libraries to handle the state that so far I don't find them very useful, they contaminate the code at the end it seems that you weren't coding for Flutter.
// Global App State class AppState extends ChangeNotifier { AppState(); bool _isInitializing = true; User user; // ..... } // Use this to manipulate state to prevent rebuilds. class AppScope extends InheritedWidget { const AppScope({ Key? key, required this.state, required this.service, required Widget child, }) : super(key: key, child: child); final AppState state; final AppService service; static AppScope of(BuildContext context) { final result = context.dependOnInheritedWidgetOfExactType<AppScope>(); assert(result != null, 'No AppScope found in context'); return result!; } @override bool updateShouldNotify(AppScope oldWidget) => false; } // If I need an updated reference, every time the state changes I can get the last value class AppNotifier extends InheritedWidget<AppState> { const AppNotifier({ Key? key, AppState? notifier, required Widget child, }) : super(key: key, child: child, notifier: notifier); static AppState of(BuildContext context) { final result = context.dependOnInheritedWidgetOfExactType<AppNotifier>(); assert(result != null, 'No AppNotifier found in context'); return result!.notifier!; } }
January 24, 2022 at 07:36PM by andrefedev
https://ift.tt/3ogc2Yf
reddit
Tell me why would I have to use a third party package to handle...
Don't get me wrong, I'm not challenging anyone, it's just that I've heard of so many libraries to handle the state that so far I don't find them...
New post on /r/flutterdev subreddit:
Implementing True Black dark theme mode in Flutter
https://ift.tt/3u0SQBr
January 24, 2022 at 07:21PM by yallurium
https://ift.tt/3FZ9pQp
Implementing True Black dark theme mode in Flutter
https://ift.tt/3u0SQBr
January 24, 2022 at 07:21PM by yallurium
https://ift.tt/3FZ9pQp
Dartling
Implementing True Black dark theme mode in Flutter
Introduction
If you've been using Flutter for a while, you already know theming with Flutter is very easy, and switching between light and dark mode is available out-of-the-box, something which can be a pain to implement with other frameworks if you ...
If you've been using Flutter for a while, you already know theming with Flutter is very easy, and switching between light and dark mode is available out-of-the-box, something which can be a pain to implement with other frameworks if you ...
New post on /r/flutterdev subreddit:
Easily add CI testing with GitHub Actions
https://ift.tt/3AAANDd
January 24, 2022 at 09:53PM by gskinner_team
https://ift.tt/3nTLqfm
Easily add CI testing with GitHub Actions
https://ift.tt/3AAANDd
January 24, 2022 at 09:53PM by gskinner_team
https://ift.tt/3nTLqfm
gskinner blog
Flutter: Easily add CI testing with GitHub Actions
One of the great things about Github Actions is how easily it lets you setup continuous integration testing for your flutter applications. In this post we'll go through the basic implementation of...
New post on /r/flutterdev subreddit:
How to increase app speed
I'm new to Mobile app development and I created my first app. It's just a simple app that basically just fetches data from my WordPress blog. Currently, I'm hosting my WordPress blog on Hostinger and paying Web Hosting Premium plan (https://www.hostinger.com/pricing)Let's say I release the app on App Store and play store and got a lot of Users. I heard that when there are a lot of users using the app at the same time, the data might be slow and it might crash the app so I'm just wondering how to prevent that or handle it immediately when it happens in the future.If data is taking too long to load on the app for every user then, can I just go to Hostinger and upgrade a plan?. Do you know if this going to fix this kind of issue?I'm just wondering what kind of scenario should I be expecting to happen and how to be ready to fix those kind of issue.
January 24, 2022 at 11:42PM by aase_nomad
https://ift.tt/347GAUs
How to increase app speed
I'm new to Mobile app development and I created my first app. It's just a simple app that basically just fetches data from my WordPress blog. Currently, I'm hosting my WordPress blog on Hostinger and paying Web Hosting Premium plan (https://www.hostinger.com/pricing)Let's say I release the app on App Store and play store and got a lot of Users. I heard that when there are a lot of users using the app at the same time, the data might be slow and it might crash the app so I'm just wondering how to prevent that or handle it immediately when it happens in the future.If data is taking too long to load on the app for every user then, can I just go to Hostinger and upgrade a plan?. Do you know if this going to fix this kind of issue?I'm just wondering what kind of scenario should I be expecting to happen and how to be ready to fix those kind of issue.
January 24, 2022 at 11:42PM by aase_nomad
https://ift.tt/347GAUs
Hostinger
Hostinger Pricing — Check How Much Does Web Hosting Cost
The cost of hosting plans starts from US$ 2.99 — it includes a free domain, a website builder, and advanced tools to help build a fully functional website.
New post on /r/flutterdev subreddit:
Flutter Tutorial: Google Drive File Upload
https://youtu.be/C9aIglzph1M
January 25, 2022 at 01:40AM by JideGuru
https://ift.tt/3gb9p5z
Flutter Tutorial: Google Drive File Upload
https://youtu.be/C9aIglzph1M
January 25, 2022 at 01:40AM by JideGuru
https://ift.tt/3gb9p5z
YouTube
Flutter Tutorial: Google Drive File Upload
In this video, we'll be using Google Drive API with Flutter to upload a FIle.
Source Code: https://github.com/JideGuru/youtube_videos/tree/master/google_drive_upload
Subscribe: https://www.youtube.com/channel/UCDKCzyQaoyH9pzAvLyCydmw
CHAPTERS
00:00 Intro…
Source Code: https://github.com/JideGuru/youtube_videos/tree/master/google_drive_upload
Subscribe: https://www.youtube.com/channel/UCDKCzyQaoyH9pzAvLyCydmw
CHAPTERS
00:00 Intro…