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

Flexible widgets in Flutter
https://nivedita.tech/flutter-basics-flexible-widgetsHere's my article which explains flexible, expanded and spacer with visual representation.Looking forward to feedback/comments. Cheers 🍻

September 23, 2021 at 02:25PM by nivid1988
https://ift.tt/39u2pxd
New post on /r/flutterdev subreddit:

flutter_local_notification example with daily, weekly, monthly notification
https://github.com/nivdatta/local_notification_exampleI followed the tutorial by Johannes Milke on Youtube and uploaded the above working code for local notifications.This is the first time I am sharing my code on github, feedback is appreciated 🙌Find me on Twitter https://twitter.com/nivdatta88

September 23, 2021 at 02:16PM by nivid1988
https://ift.tt/3nY1cqn
New post on /r/flutterdev subreddit:

What pain points did you experience with i18n and flutter?
Hi everyone,I developed a flutter app which I had to i18n (translate). I used the excellent package from Glasberg. But I observed quickly that managing translations as Jsons (or Map's in Dart's case) is error-prone and tedious. I had the same problems when I developed a web app (aka it's not Flutter specific). Fast forward some weeks and some fellow students and I want to streamline the internationalization of apps experience as part of a course for uni. We need your feedback to know what we should build.1. Which pain points do you, or did you, experience with i18n and flutter?The current proof of concept tackles (definitely needs refinement): 1. missing translations 2. managing translations. But there are surely more pain points.2. We have a proof of concept which commits translations from a dashboard to the source code. The video shows NextJS (React) but could easily be adapted to Flutter. Would that be interesting for the Flutter community?If yes, why? If no, why not?Here is a 3-minute demo video of the proof of concept:https://www.youtube.com/watch?v=mivXTx-cpcMThe corresponding GitHub repository for the project https://github.com/samuelstroschein/inlang

September 23, 2021 at 03:24PM by samuelstroschein
https://ift.tt/3hZUQD6
New post on /r/flutterdev subreddit:

coding buddy
Hi i am looking a coding buddy someone i can study flutter together i want to start flutter as soon as possible so if there is anyone who wants to be programming buddy with me dm please

September 23, 2021 at 05:31PM by Intelligent-Formal90
https://ift.tt/3zw5aIJ
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