New post on /r/flutterdev subreddit:
Unable to get the flutter fragment programmatically as the host project uses androidx libs which are incompatible with v4
Have an issue with the FlutterFragment which extends from android.support.v4.app.Fragment support libs instead of androidx.So I am unable to get the flutter fragment programmatically as the host project uses androidx libs which are incompatible with v4.These are my settings for both host and the flutter modules:- gradle.properties ( host project )android.enableJetifier=trueandroid.useAndroidX=true- settings.gradle ( host project )evaluate(new File(settingsDir.parentFile,'/flutterlib/.android/include_flutter.groovy'))- build.gradle ( app module )
February 09, 2020 at 11:03AM by skywalker_30
https://ift.tt/2UCK2jt
Unable to get the flutter fragment programmatically as the host project uses androidx libs which are incompatible with v4
Have an issue with the FlutterFragment which extends from android.support.v4.app.Fragment support libs instead of androidx.So I am unable to get the flutter fragment programmatically as the host project uses androidx libs which are incompatible with v4.These are my settings for both host and the flutter modules:- gradle.properties ( host project )android.enableJetifier=trueandroid.useAndroidX=true- settings.gradle ( host project )evaluate(new File(settingsDir.parentFile,'/flutterlib/.android/include_flutter.groovy'))- build.gradle ( app module )
implementation project(':flutter')
- pubspec.yaml ( flutter project )module:
androidX: true
androidPackage: com.example.project_flutter
iosBundleIdentifier: com.example.project_flutter
- .android/gradle.propertiesorg.gradle.jvmargs=-Xmx1536M
android.enableR8=true
android.useAndroidX=true
android.enableJetifier=true
- .android/Flutter/build.gradle ( tried to add the androidx.legacy/annotation libs )dependencies {
testImplementation 'junit:junit:4.12'
implementation 'androidx.legacy:legacy-support-v13:1.0.0'
implementation 'androidx.annotation:annotation:1.0.0'
}
I've checked all of the above and still the FlutterFragment continue extending from v4 support libs.Additionally, i've checked the FlutterFragment.java.tmpl from which I believe the framework should generate either v4 or androidx FlutterFragment class and it does contain the correct conditions{{#androidX}}
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
{{/androidX}}
{{^androidX}}
import android.support.annotation.NonNull;
import android.support.v4.app.Fragment;
{{/androidX}}
What am I doing wrong?Really appreciate any input on this.- This is my flutter doctor -v output:[✓] Flutter (Channel stable, v1.12.13+hotfix.7, on Mac OS X 10.15.2 19C57, locale en-IL)• Flutter version 1.12.13+hotfix.7 at /Users/user/Projects/flutter• Framework revision 9f5ff2306b (13 days ago), 2020-01-26 22:38:26 -0800• Engine revision a67792536c• Dart version 2.7.0[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)• Android SDK at /Users/user/Library/Android/sdk• Android NDK location not configured (optional; useful for native profiling support)• Platform android-28, build-tools 28.0.3• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)• All Android licenses accepted.[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)• Xcode at /Applications/Xcode.app/Contents/Developer• Xcode 11.3.1, Build version 11C504• CocoaPods version 1.8.4[✓] Android Studio (version 3.6)• Android Studio at /Applications/Android Studio.app/Contents• Flutter plugin version 43.0.2• Dart plugin version 192.7761• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)[✓] IntelliJ IDEA Ultimate Edition (version 2019.1)• IntelliJ at /Applications/IntelliJ IDEA.app• Flutter plugin version 43.0.2• Dart plugin version 191.6183.88[✓] VS Code (version 1.42.0)• VS Code at /Applications/Visual Studio Code.app/Contents• Flutter extension version 3.8.1[✓] Connected device (1 available)• SM G950F • 988a1b47315139564e • android-arm64 • Android 9 (API 28)• No issues found!February 09, 2020 at 11:03AM by skywalker_30
https://ift.tt/2UCK2jt
New post on /r/flutterdev subreddit:
Is HAXM installable on an AMD Chipset - Flutter newbie
I have been bummed for a couple of days. I am not able to install any emulators from Android Studio.I'm not able to install HAXM on my AMD CPU. Is there a work around?I'm currently using my phone but I'd like to use the emulator!Any suggestions will be welcomed. Tia.
February 09, 2020 at 11:42AM by iosdevgene
https://ift.tt/38g9Ple
Is HAXM installable on an AMD Chipset - Flutter newbie
I have been bummed for a couple of days. I am not able to install any emulators from Android Studio.I'm not able to install HAXM on my AMD CPU. Is there a work around?I'm currently using my phone but I'd like to use the emulator!Any suggestions will be welcomed. Tia.
February 09, 2020 at 11:42AM by iosdevgene
https://ift.tt/38g9Ple
reddit
Is HAXM installable on an AMD Chipset - Flutter newbie
A subreddit for Google's crossplatform UI toolkit.
New post on /r/flutterdev subreddit:
SafeArea in Flutter
https://youtu.be/I6nO5jg_FqE
February 09, 2020 at 02:17PM by vishesh_allahabadi
https://ift.tt/2SaUVHj
SafeArea in Flutter
https://youtu.be/I6nO5jg_FqE
February 09, 2020 at 02:17PM by vishesh_allahabadi
https://ift.tt/2SaUVHj
YouTube
Flutter Basics #3 - SafeArea Code Along
This video shows what SafeArea is and how you can eliminate it from your Flutter app. Get code here : https://webtoddler.com/flutter-basics-safearea/
New post on /r/flutterdev subreddit:
FlutterForce — Week 64
https://ift.tt/31CH13Y
February 09, 2020 at 02:30PM by flutterist
https://ift.tt/39m4uJw
FlutterForce — Week 64
https://ift.tt/31CH13Y
February 09, 2020 at 02:30PM by flutterist
https://ift.tt/39m4uJw
Medium
FlutterForce — #Week 64
Weekly Flutter Resources
New post on Flutter Dev Google group:
Looking for a developer partner
Hi there I've came here to ask this question because I really don't know where to go or what to do. Basically I've got an idea which I believe would be a huge game changer in engineering industries. I've got this idea for about 4 years now so I came long way to learn programming which first
February 09, 2020 at 04:26PM by PeterC
https://ift.tt/2HaG8WR
Looking for a developer partner
Hi there I've came here to ask this question because I really don't know where to go or what to do. Basically I've got an idea which I believe would be a huge game changer in engineering industries. I've got this idea for about 4 years now so I came long way to learn programming which first
February 09, 2020 at 04:26PM by PeterC
https://ift.tt/2HaG8WR
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 Flutter Dev Google group:
Show Hide Shipping method based on cart total ( Flutter App Based on Woocommerce REST API )
Hello everyone, I am new to flutter and dart and trying to learn Flutter while building an app based on Woocommerce using Flutter. I am able to fetch the list of Shipping Methods using REST API. But don't how to show hide Shipping Method based on Cart Total. Here is the link to source on
February 09, 2020 at 04:56PM by N K
https://ift.tt/2H8xV5F
Show Hide Shipping method based on cart total ( Flutter App Based on Woocommerce REST API )
Hello everyone, I am new to flutter and dart and trying to learn Flutter while building an app based on Woocommerce using Flutter. I am able to fetch the list of Shipping Methods using REST API. But don't how to show hide Shipping Method based on Cart Total. Here is the link to source on
February 09, 2020 at 04:56PM by N K
https://ift.tt/2H8xV5F
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:
'Animating' components based on values
Fairly new to Flutter, I was trying to implement a Container changing its margin (via list offset) while the user scrolls a listview. Got it done but that made me realize setState() is a pretty expensive function to execute each frame. I decided to use AnimatedBuilder to get the same functionality but it seems to be geared towards pre-defined animations rather than values changing (like scrolling offset). What would be a way to tackle such a problem?
February 09, 2020 at 05:47PM by avagantamo
https://ift.tt/3bkAVtH
'Animating' components based on values
Fairly new to Flutter, I was trying to implement a Container changing its margin (via list offset) while the user scrolls a listview. Got it done but that made me realize setState() is a pretty expensive function to execute each frame. I decided to use AnimatedBuilder to get the same functionality but it seems to be geared towards pre-defined animations rather than values changing (like scrolling offset). What would be a way to tackle such a problem?
February 09, 2020 at 05:47PM by avagantamo
https://ift.tt/3bkAVtH
reddit
'Animating' components based on values
Fairly new to Flutter, I was trying to implement a Container changing its margin (via list offset) while the user scrolls a listview. Got it done...
New post on /r/flutterdev subreddit:
How do I run notifications when the app is closed and the phone is off?
Hi all, I’m currently working on a flutter app that involves running a function to update notifications every 10 minutes. I’m struggling how to natively get notifications or any block of code to run in the background on both iOS and Android. If this is not possible how hard is it to port my flutter code to swift for native development.
February 09, 2020 at 07:20PM by BadDeep
https://ift.tt/2SzUsxq
How do I run notifications when the app is closed and the phone is off?
Hi all, I’m currently working on a flutter app that involves running a function to update notifications every 10 minutes. I’m struggling how to natively get notifications or any block of code to run in the background on both iOS and Android. If this is not possible how hard is it to port my flutter code to swift for native development.
February 09, 2020 at 07:20PM by BadDeep
https://ift.tt/2SzUsxq
reddit
How do I run notifications when the app is closed and the phone is...
Hi all, I’m currently working on a flutter app that involves running a function to update notifications every 10 minutes. I’m struggling how to...
New post on /r/flutterdev subreddit:
Force localeResolutionCallback upon language change
Hello,I'm confronted with an interesting problem. I am using "localeResolutionCallback" to set the locale on load and to detect when the user changes the language on the device. However i also want to be able to bypass it so the user can choose a separate language from the one his device is set to.This seems to be impossible because "localeResolutionCallback" if i read the docs properly only works on load and when a device language was changed.Does anyone know how to force it to trigger this function? I do not want to use the "locale" key of material app (which works) because i would have 2 similar operations that are conflicting and i absolutely need "localeResolutionCallback" for detection so that one wins.Any ideas? ThanksPS: i am indeed using a listener to rebuild materialapp but like i said it doesn't trigger "localeResolutionCallback "
February 09, 2020 at 08:07PM by nicolaszein
https://ift.tt/2Sc65fb
Force localeResolutionCallback upon language change
Hello,I'm confronted with an interesting problem. I am using "localeResolutionCallback" to set the locale on load and to detect when the user changes the language on the device. However i also want to be able to bypass it so the user can choose a separate language from the one his device is set to.This seems to be impossible because "localeResolutionCallback" if i read the docs properly only works on load and when a device language was changed.Does anyone know how to force it to trigger this function? I do not want to use the "locale" key of material app (which works) because i would have 2 similar operations that are conflicting and i absolutely need "localeResolutionCallback" for detection so that one wins.Any ideas? ThanksPS: i am indeed using a listener to rebuild materialapp but like i said it doesn't trigger "localeResolutionCallback "
February 09, 2020 at 08:07PM by nicolaszein
https://ift.tt/2Sc65fb
reddit
Force localeResolutionCallback upon language change
Hello, I'm confronted with an interesting problem. I am using "localeResolutionCallback" to set the locale on load and to detect when the user...
New post on /r/flutterdev subreddit:
Flutter is broken on Linux 5.5 and newer kernels
Just a heads up if you use Linux and Flutter appears to be broken (it gets stuck when you build an Android app, can't hot reload, test or debug an already running app) that this is a bug and the only workaround is to downgrade your Linux kernel to 5.4 or older.https://github.com/flutter/flutter/issues/49185Spent the better part of the afternoon trying to figure this one out. Most distributions are not affected yet, but rolling release ones such as Arch Linux already are, or if you run a custom kernel.
February 09, 2020 at 11:03PM by Comevius
https://ift.tt/38emIfO
Flutter is broken on Linux 5.5 and newer kernels
Just a heads up if you use Linux and Flutter appears to be broken (it gets stuck when you build an Android app, can't hot reload, test or debug an already running app) that this is a bug and the only workaround is to downgrade your Linux kernel to 5.4 or older.https://github.com/flutter/flutter/issues/49185Spent the better part of the afternoon trying to figure this one out. Most distributions are not affected yet, but rolling release ones such as Arch Linux already are, or if you run a custom kernel.
February 09, 2020 at 11:03PM by Comevius
https://ift.tt/38emIfO
GitHub
Multiple issues running Flutter on Linux 5.5 · Issue #49185 · flutter/flutter
Edit from @dnfield: There is a known and resolved Dart bug on Linux 5.5+ that has been fixed on the Flutter master channel. The fix for this bug has not made it into dev, beta, or stable yet. The t...
New post on /r/flutterdev subreddit:
Strange slowdown in Gridview
Hi guys,I have some performance issues after implementing a GridViewBuilder that shows images fetched from firebase:Usual performance during scrollJanky performance during scrollI've observed similar issues when using an AnimationBuilder with more complex animations - SKCanvas Flush seems to be the troublemaker. Anyone got any ideas what might be causing the canvas flushing process to be this long?
February 10, 2020 at 12:13AM by Shacoast
https://ift.tt/31Cvhyy
Strange slowdown in Gridview
Hi guys,I have some performance issues after implementing a GridViewBuilder that shows images fetched from firebase:Usual performance during scrollJanky performance during scrollI've observed similar issues when using an AnimationBuilder with more complex animations - SKCanvas Flush seems to be the troublemaker. Anyone got any ideas what might be causing the canvas flushing process to be this long?
February 10, 2020 at 12:13AM by Shacoast
https://ift.tt/31Cvhyy
New post on /r/flutterdev subreddit:
What features do you want in a Flutter IDE? - OC
https://twitter.com/rodydavis/status/1226686984346689536?s=21
February 10, 2020 at 03:31AM by SoundDr
https://ift.tt/39l7S7h
What features do you want in a Flutter IDE? - OC
https://twitter.com/rodydavis/status/1226686984346689536?s=21
February 10, 2020 at 03:31AM by SoundDr
https://ift.tt/39l7S7h
Twitter
Rody Davis
What about a GUI for theme options? Using the system color picker and updating a theme file for light and dark mode. Works with existing projects! @FlutterDev 😎 Live preview too https://t.co/wuxqGsSHhQ
New post on /r/flutterdev subreddit:
Create an Excel based app in Flutter
Im learning Flutter and want to build an Excel based based app.Here are the features that I want to include:- Table based structure with horizontal scroll.- Create, Edit, Delete data (numbers).- able to move data around any cells within the table- add calendar or dates to table Horizontally- Calculations within the TableBefore I start creating my app. I wanted to get input from fellow developer from beginners to advance on the best way to approach this. Thank you in advance for your help.
February 10, 2020 at 03:07AM by Legalyze
https://ift.tt/2UDHyB7
Create an Excel based app in Flutter
Im learning Flutter and want to build an Excel based based app.Here are the features that I want to include:- Table based structure with horizontal scroll.- Create, Edit, Delete data (numbers).- able to move data around any cells within the table- add calendar or dates to table Horizontally- Calculations within the TableBefore I start creating my app. I wanted to get input from fellow developer from beginners to advance on the best way to approach this. Thank you in advance for your help.
February 10, 2020 at 03:07AM by Legalyze
https://ift.tt/2UDHyB7
reddit
Create an Excel based app in Flutter
Im learning Flutter and want to build an Excel based based app. Here are the features that I want to include: \- Table based structure with...
New post on /r/flutterdev subreddit:
Is there any package/feature that Flutter devs would like to see?
I'm a package developer for Dart/Flutter in my spare time, and have had moderate success in doing so (https://pub.dev/publishers/kishoredev.live/packages).I just wanted to ask around and see if there was a package or feature request for Flutter that I could help bring to fruition. I have the time to invest, so shoot with any packages/APIs you would like to see.
February 10, 2020 at 02:26AM by AKushWarrior
https://ift.tt/3boQFf8
Is there any package/feature that Flutter devs would like to see?
I'm a package developer for Dart/Flutter in my spare time, and have had moderate success in doing so (https://pub.dev/publishers/kishoredev.live/packages).I just wanted to ask around and see if there was a package or feature request for Flutter that I could help bring to fruition. I have the time to invest, so shoot with any packages/APIs you would like to see.
February 10, 2020 at 02:26AM by AKushWarrior
https://ift.tt/3boQFf8
Dart packages
Packages of publisher kishoredev.live
Pub is the package manager for the Dart programming language, containing reusable libraries & packages for Flutter, AngularDart, and general Dart programs.
New post on Flutter Dev Google group:
Professional Connectivity App Development
I want to build an app like LinkedIn that connects people and I developed a basic social media app. Can somebody point me to the direction that how can I add functionality to that app and what tools I need to have for the requirements? It is my first app that is going to be this big and I wonder
February 10, 2020 at 07:10AM by kuldeep rawat
https://ift.tt/2UKT0ee
Professional Connectivity App Development
I want to build an app like LinkedIn that connects people and I developed a basic social media app. Can somebody point me to the direction that how can I add functionality to that app and what tools I need to have for the requirements? It is my first app that is going to be this big and I wonder
February 10, 2020 at 07:10AM by kuldeep rawat
https://ift.tt/2UKT0ee
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:
Is it possible to use one model class for both retrofit(or dio) and moor
Hello, I have been develop an app that can retrieve data from api and save it locally. I use retrofit for api connection and moor for local database. The problem is, I already have my own class model to connect to my api service, but moor create a new class model when I create a new table and use that new class model for local database connection. How can I implement the same class model that I already made and use in retrofit for moor database?
February 10, 2020 at 09:02AM by rakanduk
https://ift.tt/2w6oL7x
Is it possible to use one model class for both retrofit(or dio) and moor
Hello, I have been develop an app that can retrieve data from api and save it locally. I use retrofit for api connection and moor for local database. The problem is, I already have my own class model to connect to my api service, but moor create a new class model when I create a new table and use that new class model for local database connection. How can I implement the same class model that I already made and use in retrofit for moor database?
February 10, 2020 at 09:02AM by rakanduk
https://ift.tt/2w6oL7x
reddit
Is it possible to use one model class for both retrofit(or dio)...
Hello, I have been develop an app that can retrieve data from api and save it locally. I use retrofit for api connection and moor for local...
New post on /r/flutterdev subreddit:
Starter Architecture for Flutter & Firebase Apps
https://youtu.be/rMDRgXnBMq0
February 10, 2020 at 10:00AM by bizz84
https://ift.tt/2viHX1u
Starter Architecture for Flutter & Firebase Apps
https://youtu.be/rMDRgXnBMq0
February 10, 2020 at 10:00AM by bizz84
https://ift.tt/2viHX1u
YouTube
Starter Architecture for Flutter & Firebase Apps
Written tutorial here: 👇👇
https://codewithandrea.com/videos/2020-02-10-starter-architecture-flutter-firebase/
In this tutorial I give a detailed overview of a production-ready architecture that I've fine-tuned over the last two years. You can use the included…
https://codewithandrea.com/videos/2020-02-10-starter-architecture-flutter-firebase/
In this tutorial I give a detailed overview of a production-ready architecture that I've fine-tuned over the last two years. You can use the included…
New post on Flutter Dev Google group:
Having trouble with handling native method call in Swift
In the app I'm writing I'm having trouble with handling the arguments: *let* args = call.arguments *as*? Dictionary
Having trouble with handling native method call in Swift
In the app I'm writing I'm having trouble with handling the arguments: *let* args = call.arguments *as*? Dictionary
New post on /r/flutterdev subreddit:
Get Fluttered : Postman Animation
https://ift.tt/38gs9dY
February 10, 2020 at 10:45AM by The404Skillset
https://ift.tt/2H9l1nR
Get Fluttered : Postman Animation
https://ift.tt/38gs9dY
February 10, 2020 at 10:45AM by The404Skillset
https://ift.tt/2H9l1nR
Medium
Get Fluttered : Postman Animation
A lot of you guys must have used Postman before. Today, we are going to build the Postman loading screen animation, so let’s get straight…
New post on /r/flutterdev subreddit:
Advanced Flutter: Matrix4 and Perspective Transformations
https://ift.tt/2uoUbWk
February 10, 2020 at 10:31AM by deven9852
https://ift.tt/37cvaL9
Advanced Flutter: Matrix4 and Perspective Transformations
https://ift.tt/2uoUbWk
February 10, 2020 at 10:31AM by deven9852
https://ift.tt/37cvaL9
Medium
Advanced Flutter: Matrix4 And Perspective Transformations
Demystifying Matrix4 and utilising the full power of the Transform Widget
New post on Flutter Dev Google group:
Flutter web is not connecting to browser instance due to fire wall
Greetings Flutter Gang! I am having trouble connecting to chrome. I had this issue in the past, but I read some article on the internet that help me to solve the problem. I been searching for 3 days for this and I been unsuccessful. I upgrade to latest android studio and updated windows 10. I
February 10, 2020 at 10:58AM by spaceage
https://ift.tt/2SvxFTG
Flutter web is not connecting to browser instance due to fire wall
Greetings Flutter Gang! I am having trouble connecting to chrome. I had this issue in the past, but I read some article on the internet that help me to solve the problem. I been searching for 3 days for this and I been unsuccessful. I upgrade to latest android studio and updated windows 10. I
February 10, 2020 at 10:58AM by spaceage
https://ift.tt/2SvxFTG
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.