Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on /r/flutterdev subreddit:

Testing Best Practices Missing In Skeleton App
Just making sure I have your feedback to inject into the weekend testing Best Practices Article I am writing. What I have thus far is:How To Do a App Test Fixture to inject deps like services for example theme services like in the skeleton app template.Proper AppRoot widget wrapping for powerful Goldens full device on widget testingFeature Support Harness writingMaking Tests read Like English sentences using eBay's test utilities.How To use Page Object Model testing, we need this to test apps with multiple screens.​Am I missing anything? Something you ran into that is not listed?

September 23, 2021 at 08:27PM by fredgrott
https://ift.tt/39zsQBq
New post on /r/flutterdev subreddit:

airport | My first Package
I just uploaded my first package.Basically, you put the Icao of some airport (ex: "SBGR", Guarulhos Airport), and it returns the main information about it. If you can test and give me feedback on how to improve, I would appreciate it.https://pub.dev/packages/airport/

September 24, 2021 at 12:01AM by Zitske
https://ift.tt/3zDvUHx
New post on /r/flutterdev subreddit:

The Provider 6.0.0 upgrade is kinda like null-safety migration and it's frustrating...
A lot of widget package uses package:provider. Due to this a lot of plugins are having this error
Because no versions of chewie match >1.2.2 <2.0.0 and chewie 1.2.2 depends on provider ^5.0.0, chewie ^1.2.2 requires provider ^5.0.0. And because flutter_bloc >=7.2.0 depends on provider ^6.0.0, chewie ^1.2.2 is incompatible with flutter_bloc >=7.2.0. 
A lot of plugins have this error and it's very frustrating to wait for the plugin author to upgrade to 6.0.0. It's really very frustrating, we just had the null-safety migration and now this.I know it's not the same level because the null-safety migration was a real hell.

September 24, 2021 at 02:56AM by yurabe
https://ift.tt/3zzCX3P
New post on /r/flutterdev subreddit:

How to create Android app widgets in Flutter?
I need to create a list in screen as a widget just like many other android apps did. But I don't get any way or package to implement in Flutter. Do I need to do in native way or any other packages is available

September 24, 2021 at 06:27AM by Immediate_Entry_3626
https://ift.tt/3lWxIX8
New post on /r/flutterdev subreddit:

Would you recommend any Figma to Flutter tool?
Like the title, we would like to save some time in development by using a Figma to Flutter tool. However, the consensus wasn't that high. So I would like to ask if anyone has used a Figma to Flutter tool? How was your experience? Is it worth the effort?

September 24, 2021 at 06:24AM by vhax123456
https://ift.tt/3nZH1IF
New post on /r/flutterdev subreddit:

<b>Help!! ASAP been stuck for days problem in ...android\app\build.gradle line: 28</b>
error showing in my debug console:FAILURE: Build failed with an exception.* Where:Build file 'D:\project\student_app\android\app\build.gradle' line: 28A problem occurred evaluating project ':app'.> No signature of method: build_dt29b5te6aug04qbed8pv9fhk.android() is applicable for argument types: (build_dt29b5te6aug04qbed8pv9fhk$_run_closure2) values: [build_dt29b5te6aug04qbed8pv9fhk$_run_closure2@5a9b5e67]BUILD FAILED in 5sException: Gradle task assembleDebug failed with exit code 1my app/build.gradle file :def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
    compileSdkVersion 30
    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }
    defaultConfig {
// TODO: Specify your own unique Application ID (<a href="https://developer.android.com/studio/build/application-id.html">https://developer.android.com/studio/build/application-id.html</a>).
        applicationId "com.example.student_app"
        minSdkVersion 28
        targetSdkVersion 30
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
    }
    buildTypes {
        release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
            signingConfig signingConfigs.debug
        }
    }
    packagingOptions {
        exclude 'META-INF/project.properties'
        exclude 'project.clj'
    }
    compile ('junit:junit:4.12'){
        exclude group: 'org.hamcrest', module:'hamcrest-core'
    }
}
flutter {
    source '../..'
}
dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation fileTree(include: '*.aar', dir: '../../lib/Helper/FlutterRtmpPlublisher/android/libs')
}my pubspec.yaml file:name: student_app
description: A new Flutter project.
# The following line prevents the package from being accidentally published to
pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at <a href="https://developer.android.com/studio/publish/versioning">https://developer.android.com/studio/publish/versioning</a>
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# <a href="https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html">https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html</a>…
New post on /r/flutterdev subreddit:

App Feedback Thread - September 24, 2021
This thread is for getting feedback on your own apps.Developers:must provide feedback for othersmust include Play Store, App Store, GitHub, GitLab, or BitBucket linkmust make top level commentmust make effort to respond to questions and feedback from commentersmay be open or closed sourceCommenters:must give constructive feedback in replies to top level commentsmust not include links to other appsTo cut down on spam, accounts who are too young or do not have enough karma to post will be removed. Please make an effort to contribute to the community before asking for feedback.As always, the mod team is only a small group of people, and we rely on the readers to help us maintain this subreddit. Please report any rule breakers. Thank you.- r/FlutterDev Mods

September 24, 2021 at 03:00PM by AutoModerator
https://ift.tt/3kCN43L
New post on /r/flutterdev subreddit:

Does anyone know of a security tools that performs static code analysis of Flutter/Dart code?
Hi there!I'm trying to use Flutter to develop mobile apps for my company, but they have a very strict policy of not deploying anything without a previous SAST analysis for it (Microfocus Fortify, VeraCode... etc).Does anyone know of any tool, commercial or not, to provide such kind of static code analysis for Dart?Thank you in advance!

September 24, 2021 at 06:21PM by bysho
https://ift.tt/3kFQrHg
New post on /r/flutterdev subreddit:

Just pushed my first flutter project in github
I have developed a text recongizition app with flutter and google ml kit.

September 24, 2021 at 08:20PM by Aaqilsh
https://ift.tt/3ENeWdx
New post on /r/flutterdev subreddit:

Flutter Developer Weekly Newsletter - Issue #27 is LIVE!
https://ift.tt/3o6jKow

September 24, 2021 at 09:17PM by FlutterDevWeekly
https://ift.tt/3i4U8nQ