New post on /r/flutterdev subreddit:
Which package to use to consume a REST API: Dio or Chopper?
I'm implementing a quite complex mobile application in Flutter thus I need to make a good decision here before going on and implementing the consumers of the API. I also saw Retrofit, no changes were made since 2 months thus I will not consider it for the moment. My time is limited thus I do not want to spend time forking and adding implementation myself.I wrote code using both Dio and Chopper. In the architecture I implemented in my project, a simple authentication(refresh token) request is implemented the following manner with Dio:
January 13, 2020 at 07:10PM by albaniantech
https://ift.tt/2QP4Sd3
Which package to use to consume a REST API: Dio or Chopper?
I'm implementing a quite complex mobile application in Flutter thus I need to make a good decision here before going on and implementing the consumers of the API. I also saw Retrofit, no changes were made since 2 months thus I will not consider it for the moment. My time is limited thus I do not want to spend time forking and adding implementation myself.I wrote code using both Dio and Chopper. In the architecture I implemented in my project, a simple authentication(refresh token) request is implemented the following manner with Dio:
Future<Response> grantPasswordAuth(PasswordAuthRequest passwordAuthObject) { ApiUri apiUri = new ApiUri(PATH); // create path apiUri.addQueryParam('grant_type', 'password'); // add query params return post(apiUri, data: passwordAuthObject.toJson()); // call superclass method to POST }In Chopper on the other hand a simple request is implemented the following manner:
@Post(headers: const { 'content-type': 'appliation/x-www-form-urlencoded', }, path: 'token') Future<Response> grantPasswordAuth(@Body() LoginUser loginUser);As you can see, regarding code length they are approximately the same.On the other hand, the differences I have come up with are:Chopper creates an extra file which increases the size of the project and its package structure complexity.Dio is more mature(the above code in Chopper using 'content-type': 'appliation/x-www-form-urlencoded' created many problems to me. Dio seems to not have any complexities that come unexpected.Dio is better maintained and has more functionalities.Should I go for Dio since the problem that Chopper solves(which is generating biolerplate code) I have solved myself in Dio(the code for a POST request is very short and biolerplate code is avoided as you can see)? Looking forward to opinions of developers who have used both or have used one of them extensively and could tell me what kind of disadvantages are there that I can find out before starting to implement.
January 13, 2020 at 07:10PM by albaniantech
https://ift.tt/2QP4Sd3
reddit
Which package to use to consume a REST API: Dio or Chopper?
I'm implementing a quite complex mobile application in Flutter thus I need to make a good decision here before going on and implementing the...
New post on /r/flutterdev subreddit:
flutter app to demonstration of how to close keyboard after clicking out...
https://www.youtube.com/watch?v=HVROX-mcAKU&feature=share
January 13, 2020 at 01:56AM by prolongservices
https://ift.tt/36RxHei
flutter app to demonstration of how to close keyboard after clicking out...
https://www.youtube.com/watch?v=HVROX-mcAKU&feature=share
January 13, 2020 at 01:56AM by prolongservices
https://ift.tt/36RxHei
YouTube
flutter app to demonstration of how to close keyboard after clicking outside
A small flutter app to demonstration of how to close keyboard after clicking outside.
This could be problem when we use app in small device then text fields are getting unresponsive.
This could be problem when we use app in small device then text fields are getting unresponsive.
New post on /r/flutterdev subreddit:
Image (Flutter Widget of the Week)
https://www.youtube.com/watch?v=7oIAs-0G4mw&feature=share
January 13, 2020 at 07:08PM by Pixelreddit
https://ift.tt/35R4ZZP
Image (Flutter Widget of the Week)
https://www.youtube.com/watch?v=7oIAs-0G4mw&feature=share
January 13, 2020 at 07:08PM by Pixelreddit
https://ift.tt/35R4ZZP
YouTube
Image (Flutter Widget of the Week)
Need your app to display images? Flutter has you covered! Use the Image widget to render an image to the screen, wherever it may come from: assets, network, file system, RAM and more!
Learn more about Image → https://goo.gle/35aHYBt
This video is also…
Learn more about Image → https://goo.gle/35aHYBt
This video is also…
New post on /r/flutterdev subreddit:
Embeddable JSON Database engine Flutter plugin. Both iOS and Android supported.
https://ift.tt/2Njgz9C
January 13, 2020 at 01:29PM by adamansky
https://ift.tt/2QQhzEv
Embeddable JSON Database engine Flutter plugin. Both iOS and Android supported.
https://ift.tt/2Njgz9C
January 13, 2020 at 01:29PM by adamansky
https://ift.tt/2QQhzEv
Dart packages
ejdb2_flutter | Flutter Package
Embeddable JSON Database engine EJDB http://ejdb.org Flutter binding.
New tweet from FlutterDev:
Need your app to display images?
Images bring your app to life! Image widget offers several constructors to display different types of images, wherever they may come from: assets, network, file system, RAM, and more.
More #WidgetoftheWeek here → https://t.co/1t10ChoWrq pic.twitter.com/lvst9P4lTE— Flutter (@FlutterDev) January 13, 2020
January 13, 2020 at 07:55PM
http://twitter.com/FlutterDev/status/1216795974279917570
Need your app to display images?
Images bring your app to life! Image widget offers several constructors to display different types of images, wherever they may come from: assets, network, file system, RAM, and more.
More #WidgetoftheWeek here → https://t.co/1t10ChoWrq pic.twitter.com/lvst9P4lTE— Flutter (@FlutterDev) January 13, 2020
January 13, 2020 at 07:55PM
http://twitter.com/FlutterDev/status/1216795974279917570
Twitter
#widgetoftheweek hashtag on Twitter
15h ago @FlutterDev tweeted: "✏️ Writing your own button controls from.." - read what others are saying and join the conversation.
New post on /r/flutterdev subreddit:
Here's a little package I've created : Flutter Week View. It allows you to display a highly customizable day / week widget.
Hey guys,I've created a little package that allows to display a highly customizable week view (or day view) which is able to display events, to be scrolled, to be zoomed-in & out and a lot more !It's compatible with iOS, Android and Web. Here is a screenshot of the DayView and here is a screenshot of the WeekView.Links :pub.dev : https://pub.dev/packages/flutter_week_viewSource code : https://github.com/Skyost/FlutterWeekView
January 13, 2020 at 10:27PM by Skyost
https://ift.tt/3a4H1gZ
Here's a little package I've created : Flutter Week View. It allows you to display a highly customizable day / week widget.
Hey guys,I've created a little package that allows to display a highly customizable week view (or day view) which is able to display events, to be scrolled, to be zoomed-in & out and a lot more !It's compatible with iOS, Android and Web. Here is a screenshot of the DayView and here is a screenshot of the WeekView.Links :pub.dev : https://pub.dev/packages/flutter_week_viewSource code : https://github.com/Skyost/FlutterWeekView
January 13, 2020 at 10:27PM by Skyost
https://ift.tt/3a4H1gZ
New post on /r/flutterdev subreddit:
When to shut down the Dio client in Flutter's Dio package?
Dio has a method
January 13, 2020 at 11:46PM by albaniantech
https://ift.tt/3a8e0kH
When to shut down the Dio client in Flutter's Dio package?
Dio has a method
void close()
which shuts down the Dio client when called. The question I have is: when should I call this method?The options obvious to me are:Call it after every "transaction of requests" is processed(most of the cases it would be calling it after every request I make in the REST API since most of the transactions are composed of a single request.)Never call it and leave the Dio client open all the time?Would the second option become a problem because of leaving the connection open all the time?Would the first option create considerable performance problems regarding the speed the requests are processed?January 13, 2020 at 11:46PM by albaniantech
https://ift.tt/3a8e0kH
reddit
When to shut down the Dio client in Flutter's Dio package?
Dio has a method `void close()` which shuts down the Dio client when called. The question I have is: **when should I call this method?** The...
New post on /r/flutterdev subreddit:
Do you know how many packages in Pub.dev? According to libraries.io, there are more than 10k packages.
https://ift.tt/36QIaa5
January 14, 2020 at 03:19AM by anticafe
https://ift.tt/38eBCCv
Do you know how many packages in Pub.dev? According to libraries.io, there are more than 10k packages.
https://ift.tt/36QIaa5
January 14, 2020 at 03:19AM by anticafe
https://ift.tt/38eBCCv
Libraries.io
Libraries - The Open Source Discovery Service
Discover open source libraries, modules and frameworks you can use in your code
New post on /r/flutterdev subreddit:
Onesignal issue on flutter
Has anyone experience extremely long build time after using Onesignal in flutter?
January 14, 2020 at 02:31AM by Fienases
https://ift.tt/2FOe6jq
Onesignal issue on flutter
Has anyone experience extremely long build time after using Onesignal in flutter?
January 14, 2020 at 02:31AM by Fienases
https://ift.tt/2FOe6jq
reddit
Onesignal issue on flutter
Has anyone experience extremely long build time after using Onesignal in flutter?
New post on Flutter Dev Google group:
Proposal: Update the TextTheme API
Proposal for a (breaking) renaming change in the TextTheme API: flutter.dev/go/update-text-theme-api. The overall goal is to sync the TextTheme API's TextStyle names with the current Material design spec. Comments on the document are welcome.
January 14, 2020 at 02:55AM by hansmuller
https://ift.tt/2TmfCRC
Proposal: Update the TextTheme API
Proposal for a (breaking) renaming change in the TextTheme API: flutter.dev/go/update-text-theme-api. The overall goal is to sync the TextTheme API's TextStyle names with the current Material design spec. Comments on the document are welcome.
January 14, 2020 at 02:55AM by hansmuller
https://ift.tt/2TmfCRC
Google Docs
Update the TextTheme API (PUBLICLY SHARED)
SUMMARY Update the names of TextTheme’s TextStyle properties to match the 2018 Material Design spec. Author: Hans Muller (@hansmuller) Go Link: flutter.dev/go/update-text-theme-api Created: January 2020 / Last updated: January 2020 OBJECTIVE This is…
New post on /r/flutterdev subreddit:
Quickblox launches Flutter SDK
https://ift.tt/2QRSo4v
January 14, 2020 at 09:03AM by llamapajama93
https://ift.tt/2tYa8lo
Quickblox launches Flutter SDK
https://ift.tt/2QRSo4v
January 14, 2020 at 09:03AM by llamapajama93
https://ift.tt/2tYa8lo
Dart packages
quickblox_sdk | Flutter Package
QuickBlox SDK for Flutter.
New post on /r/flutterdev subreddit:
In introduction to writing cli scripts using Dart and dshell.
https://ift.tt/387VYx7
January 14, 2020 at 08:26AM by bsutto
https://ift.tt/2uMHfcy
In introduction to writing cli scripts using Dart and dshell.
https://ift.tt/387VYx7
January 14, 2020 at 08:26AM by bsutto
https://ift.tt/2uMHfcy
Medium
dshell — build console apps in dart
In the beginning there was bash, it was without form and sent my work to /dev/null.
New post on Flutter Dev Google group:
Form Builder data saving issue
Hello guys, I need a help your efforts are really appreciable please help. I am creating a long form using formbuilder I need to save data instead of Text I need to save value from FormBuilderRadio . Presently it's like this FormBuilderRadio( decoration: InputDecoration(labelText: "Choose
January 14, 2020 at 11:08AM by Sangeeta Kumari
https://ift.tt/2TnWoes
Form Builder data saving issue
Hello guys, I need a help your efforts are really appreciable please help. I am creating a long form using formbuilder I need to save data instead of Text I need to save value from FormBuilderRadio . Presently it's like this FormBuilderRadio( decoration: InputDecoration(labelText: "Choose
January 14, 2020 at 11:08AM by Sangeeta Kumari
https://ift.tt/2TnWoes
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
New post on /r/flutterdev subreddit:
I published my 2nd Flutter app and AppStore just approved it!
Hi guys.First of all, flutter has changed my life. I enjoy developing again. I even convinced managers at my day job to switch to Flutter. Every new project is created in Flutter. So I am helping the adoption as much as I can.Wanted to share another milestone for me. Been working on it for last 6 months in the evenings.
It's called Timecap. This app tracks time in a goal/limit based way. I like to consider it a ScreenTime for your life.Any feedback is appreciated.
Google Play: https://play.google.com/store/apps/details?id=com.ziggycrane.time
AppStore: https://apps.apple.com/us/app/timecap-track-your-time-goals/id1494584871?ls=1
January 14, 2020 at 11:48AM by ziggycrane
https://ift.tt/2QP7ojk
I published my 2nd Flutter app and AppStore just approved it!
Hi guys.First of all, flutter has changed my life. I enjoy developing again. I even convinced managers at my day job to switch to Flutter. Every new project is created in Flutter. So I am helping the adoption as much as I can.Wanted to share another milestone for me. Been working on it for last 6 months in the evenings.
It's called Timecap. This app tracks time in a goal/limit based way. I like to consider it a ScreenTime for your life.Any feedback is appreciated.
Google Play: https://play.google.com/store/apps/details?id=com.ziggycrane.time
AppStore: https://apps.apple.com/us/app/timecap-track-your-time-goals/id1494584871?ls=1
January 14, 2020 at 11:48AM by ziggycrane
https://ift.tt/2QP7ojk
Google Play
Timecap care: ADHD Habit Timer - Apps on Google Play
Your routine tracker! Set goals, track checklist & todo to acheive daily habits.
New post on /r/flutterdev subreddit:
Is Flutter safe for new Apple rules effective April 2020?
> Apps should look great on all models of iPhone and iPad, regardless of display size or aspect ratio. With features like Xcode storyboards and Auto Layout, your app’s interface elements and layouts automatically fit the display. As announced at WWDC19, starting April 2020, apps submitted to the App Store must use an Xcode storyboard to provide the app’s launch screen and must have an interface that supports any display size.> Support for Multitasking on iPad is strongly encouraged. Adding support for multiple windows, and adopting Multitasking capabilities, including Slide Over, Split View, and Picture in Picture, will ensure your app delivers a modern and complete experience on iPadOS.Above is the latest from official Apple Developer News. Specifically the portion "starting April 2020, apps submitted to the App Store must use an Xcode storyboard to provide the app’s launch screen and must have an interface that supports any display size". I can see LaunchScreen.storyboard and Main.storyboard inside iOS Runner Xcode Workspace, not sure if Flutter is setup to use them. The news also suggest we'll now require to test Flutter apps running on iPad.
January 14, 2020 at 02:45PM by etca2z
https://ift.tt/389eLbp
Is Flutter safe for new Apple rules effective April 2020?
> Apps should look great on all models of iPhone and iPad, regardless of display size or aspect ratio. With features like Xcode storyboards and Auto Layout, your app’s interface elements and layouts automatically fit the display. As announced at WWDC19, starting April 2020, apps submitted to the App Store must use an Xcode storyboard to provide the app’s launch screen and must have an interface that supports any display size.> Support for Multitasking on iPad is strongly encouraged. Adding support for multiple windows, and adopting Multitasking capabilities, including Slide Over, Split View, and Picture in Picture, will ensure your app delivers a modern and complete experience on iPadOS.Above is the latest from official Apple Developer News. Specifically the portion "starting April 2020, apps submitted to the App Store must use an Xcode storyboard to provide the app’s launch screen and must have an interface that supports any display size". I can see LaunchScreen.storyboard and Main.storyboard inside iOS Runner Xcode Workspace, not sure if Flutter is setup to use them. The news also suggest we'll now require to test Flutter apps running on iPad.
January 14, 2020 at 02:45PM by etca2z
https://ift.tt/389eLbp
reddit
Is Flutter safe for new Apple rules effective April 2020?
\> Apps should look great on all models of iPhone and iPad, regardless of display size or aspect ratio. With features like Xcode storyboards and...
New post on /r/flutterdev subreddit:
Flutter Web SEO
The support of Flutter for the web is awesome, but does it make sense to develop my website with Flutter according to SEO? So whats the point using flutter if my website doesnt get found?
January 14, 2020 at 03:49PM by T0kwe0
https://ift.tt/36TNmKg
Flutter Web SEO
The support of Flutter for the web is awesome, but does it make sense to develop my website with Flutter according to SEO? So whats the point using flutter if my website doesnt get found?
January 14, 2020 at 03:49PM by T0kwe0
https://ift.tt/36TNmKg
reddit
Flutter Web SEO
The support of Flutter for the web is awesome, but does it make sense to develop my website with Flutter according to SEO? So whats the point...
New post on /r/flutterdev subreddit:
[My first app] the unpaprd.
Hey guys. I recently made an audiobook app in flutter. Please download, review and share.PS link: https://kutt.it/YsIl36 Link for the source code: GitHub.com/gargakshit/unpaprdThanks
January 13, 2020 at 09:20PM by AkshitGarg
https://ift.tt/2FL2QEm
[My first app] the unpaprd.
Hey guys. I recently made an audiobook app in flutter. Please download, review and share.PS link: https://kutt.it/YsIl36 Link for the source code: GitHub.com/gargakshit/unpaprdThanks
January 13, 2020 at 09:20PM by AkshitGarg
https://ift.tt/2FL2QEm
Google Play
The Unpaprd. - Apps on Google Play
The audiobook player.
New post on /r/flutterdev subreddit:
New plugins for handling and simulating BLE
Hi!I'm one of the developers from Polidea that worked on a new version of FlutterBleLib and a brand new plugin called BLEmulator, which is a BLE simulator for Flutter. Both are free and open source! Both plugins are supporting only Android and iOS.Here are the packages:https://pub.dev/packages/flutter_ble_libhttps://pub.dev/packages/blemulatorWe've also released a blogpost explaining how it works, decisions made and the reasons behind them, and the basics of how to use them: http://bit.ly/Polidea_BLEmulatorIf you find any bugs, please create an issue on GitHub. I'm periodically checking Stack Overflow for anything related to any of those, so if you run into any problems, be sure to ask your question there.Hope you'll like 'em!Cheers!
January 14, 2020 at 03:18PM by Calot
https://ift.tt/36X8UFO
New plugins for handling and simulating BLE
Hi!I'm one of the developers from Polidea that worked on a new version of FlutterBleLib and a brand new plugin called BLEmulator, which is a BLE simulator for Flutter. Both are free and open source! Both plugins are supporting only Android and iOS.Here are the packages:https://pub.dev/packages/flutter_ble_libhttps://pub.dev/packages/blemulatorWe've also released a blogpost explaining how it works, decisions made and the reasons behind them, and the basics of how to use them: http://bit.ly/Polidea_BLEmulatorIf you find any bugs, please create an issue on GitHub. I'm periodically checking Stack Overflow for anything related to any of those, so if you run into any problems, be sure to ask your question there.Hope you'll like 'em!Cheers!
January 14, 2020 at 03:18PM by Calot
https://ift.tt/36X8UFO
Dart packages
flutter_ble_lib | Flutter package
FlutterBle Library is a flutter library that supports BLE operations. It uses MultiPlatformBleAdapter as a native backend..
New tweet from FlutterDev:
🌌This un-animated galaxy doesn’t feel very galactic... yet! 💫
Get control over your animations using explicit animations. Learn about direction animations with built-in Transition widgets as we mix-in rotation, and more!
In @Fitzface's post ↓ https://t.co/1y5XIPaScO— Flutter (@FlutterDev) January 14, 2020
January 14, 2020 at 06:00PM
http://twitter.com/FlutterDev/status/1217129248210792449
🌌This un-animated galaxy doesn’t feel very galactic... yet! 💫
Get control over your animations using explicit animations. Learn about direction animations with built-in Transition widgets as we mix-in rotation, and more!
In @Fitzface's post ↓ https://t.co/1y5XIPaScO— Flutter (@FlutterDev) January 14, 2020
January 14, 2020 at 06:00PM
http://twitter.com/FlutterDev/status/1217129248210792449
New post on /r/flutterdev subreddit:
[D] The Flutter Architecture
The Flutter SDK allows you to build Android, iOS, web, and desktop apps from a single codebase. This is done using platform-specific features as well as media queries, and it enables developers to ship applications faster. Flutter also offers close- to-instant feedback with the hot reload feature, enabling you to iterate quickly on your application.In this piece, we’ll cover the fundamental concepts you need in order to start working with Flutter.https://heartbeat.fritz.ai/the-flutter-architecture-9d3a5f30bb25
January 14, 2020 at 06:38PM by mwitiderrick
https://ift.tt/2u2ueeg
[D] The Flutter Architecture
The Flutter SDK allows you to build Android, iOS, web, and desktop apps from a single codebase. This is done using platform-specific features as well as media queries, and it enables developers to ship applications faster. Flutter also offers close- to-instant feedback with the hot reload feature, enabling you to iterate quickly on your application.In this piece, we’ll cover the fundamental concepts you need in order to start working with Flutter.https://heartbeat.fritz.ai/the-flutter-architecture-9d3a5f30bb25
January 14, 2020 at 06:38PM by mwitiderrick
https://ift.tt/2u2ueeg
New post on /r/flutterdev subreddit:
Flutter - Add Share feature (Subscriber Requested)
https://www.youtube.com/watch?v=Z45mpurtOhE
January 14, 2020 at 06:34PM by cmcoffee91
https://ift.tt/3ajvB9o
Flutter - Add Share feature (Subscriber Requested)
https://www.youtube.com/watch?v=Z45mpurtOhE
January 14, 2020 at 06:34PM by cmcoffee91
https://ift.tt/3ajvB9o
YouTube
- YouTube
Share your videos with friends, family, and the world