Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New post on Flutter Dev Google group:

Out of memory iOS archive
Hi guys, I'm facing an Out of memory issue while compiling the iOS release version of my my app using channel Beta version 1.19.0-4.1.pre < https://storage.googleapis.com/flutter_infra/releases/beta/macos/flutter_macos_1.19.0-4.1.pre-beta.zip> or 1.19.0-4.2.pre < https://storage.googleapis.co

July 01, 2020 at 08:27AM by Andrea Fancinelli
https://ift.tt/31z0F32
New post on Flutter Dev Google group:

UI Doubt
Hi Team, How to achieve this type of UI? [image: image.png] I have used the listview builder. Herewith sharing my code. Widget build(BuildContext context) { return ListView.builder( itemCount: this.userslist.length, itemBuilder: (context, index) { final user =

July 01, 2020 at 10:31AM by Ram Kumar
https://ift.tt/38ixEtE
New post on /r/flutterdev subreddit:

From idea to publishing the app - what is your development strategy?
I feel I’m at a point where I can develop a decently complicated flutter app. I have an idea but I’m curious about what all ways are to approach it. Like should I first plan out every minute detail or just plan the big features and figure out the details as I go. Also what other softwares do you use? I’m currently using adobe XD for my UI mock Up and flutter for development (firebase if need for backend as that’s the only one I know).Also, do you use particular methodology to structure your app like TDD?

July 01, 2020 at 12:03PM by dontGiveAnEfAnynore
https://ift.tt/38gJcO1
New post on /r/flutterdev subreddit:

[DEV] HUSTLE - A Simple Counter App
This app was created during me learning Flutter, as I wanted to experiment with some kind of CRUD, and shared preferences as well as implementation of dark theme. Since this app, I have been able to learn much more and even landed myself an internship. I finally decided to compile this, and publish it, as some people may find something like this useful.A very simple app created to track habits or chores or any particular task. Provides simple counters and an easy to use interface. Deleting a counter is as simple as swiping it away.A dark theme also exists, for ease of use at night.Hope you all check it out.https://play.google.com/store/apps/details?id=com.rr.hustle2

July 01, 2020 at 02:35PM by rushilrai
https://ift.tt/2ZupFpp
New post on /r/flutterdev subreddit:

A complete open source project that uses provider?
Can anyone Suggest me a good project that uses provider pattern to showcase it's usage in a bit complex situation?I am bit confused on how handle state as it grows larger.

July 01, 2020 at 02:32PM by mohandkl
https://ift.tt/2NHfZlQ
New post on /r/flutterdev subreddit:

How to showcase your app development projects?
As a web developer you can just host your site on github. I'm learning app development and I want to showcase whatever I do somewhere for free to my friends. How do I do it?

July 01, 2020 at 03:06PM by Zangruver
https://ift.tt/38mbgzt
New post on Flutter Dev Google group:

Unable to run tests using Test package in flutter, Android Studio
Here are the details to my question. Any help you be great! Here is my link to SO: https://ift.tt/3geWqNT

July 01, 2020 at 04:12PM by savarav abhirham
https://ift.tt/3gjDwWu
New tweet from FlutterDev:

Announcing...
🥳The Flutter @CodePen Challenge, starting July 6th!

A month-long challenge to show off your amazing #FlutterPen designs to CodePen’s community of over a million designers and coders.

Learn more here &rarr; https://t.co/bTPEWALQRs pic.twitter.com/t7bOtqOujB— Flutter (@FlutterDev) July 1, 2020

July 01, 2020 at 05:07PM
http://twitter.com/FlutterDev/status/1278344584716627968
New post on /r/flutterdev subreddit:

<b>Does anyone here not use ThemeData for colors and font styles?</b>
There are a few issues I've been having, and I'd like to know if any of you face the same issues and what to you do to fix them:<strong>It's unclear what each color in in ColorScheme changes</strong>. There are <a href="https://api.flutter.dev/flutter/material/ColorScheme-class.html">so many properties</a>, but I feel that the documentation is not very clear. (<a href="https://github.com/flutter/flutter/issues/36624">related issue</a>)For example, for primaryVariant, the docs say "A darker version of the primary color", but it doesn't mention which widgets specifically use them. Are we supposed to use trial and error to find out?<strong>It feels a little limiting at times</strong>. In TextTheme, there's a property for button. It's great that you can set a single style for all your buttons. But what if you have to introduce another button of a different style? I know copyWith is available, but that requires me to define my text styles in two different places (some are in ThemeData.textTheme, some are not)<strong>I feel like I'm "defining what I don't want" rather than stating what I want</strong>. So to make a ColorScheme, all (16?) properties are required, and I don't know exactly what each of them does. The default accent (or is it primary?) color is blue, and I wanted to change that. I changed primary, accent, and secondary thinking that the focus color of a textfield would change, but it didn't, so it's obviously another property that controls this.<strong>Hot reload</strong>. Hot reload works, but the ThemeData has to come from a getter. I learned this the hard way. (Not sure if this is really an issue though)<strong>My solution</strong>Define all text styles in a file (<a href="https://github.com/ninest/Shots/blob/master/lib/src/styles/text_styles.dart">example</a>)Define all colors in another file (<a href="https://github.com/ninest/Shots/blob/master/lib/src/styles/colors.dart">example</a>): This has the added advantage of adding as many colors as I want, which I can give custom names (if secondary, secondary variant, surface, on surface don't make sense to me)esOnly use ThemeData to set defaults, like the default font (when style is not provided) (<a href="https://github.com/ninest/Shots/blob/master/lib/src/styles/theme.dart">example</a>).<strong>Another solution of text styles and colors:</strong>Here's my app colors dart file:<pre>import 'package:center/src/services/theme_service.dart'; import 'package:center/src/state/settings_state.dart'; import 'package:center/src/utils/theme_enum/theme_enum.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; AppColors(BuildContext context) { // get theme from state (using provider) final settingsState = context.watch<SettingsState>(); final currentTheme = settingsState.themeEnum; switch (currentTheme) { case ThemeEnum.light: { return ColorSet( background: Colors.white, heading: Colors.black, body: Colors.black87, ); } case ThemeEnum.dark: { return ColorSet( background: Colors.black, ); } case ThemeEnum.blue: { return ColorSet( background: Colors.blue, ); } case ThemeEnum.red: { return ColorSet( background: Colors.red, ); } } } class ColorSet { ColorSet({ // defaults this.background, this.heading = Colors.white, this.body = Colors.white70, this.error = Colors.red, }); Color background; Color heading; Color body; Color error; } </pre>Basically, what's happening is it's returning a custom object I made (ColorSet) which has properties such as background, body, and heading.Then my text styles dart file looks something like this:<pre>import 'package:center/src/state/settings_state.dart'; import 'package:center/src/styles/colors.dart'; import 'package:center/src/styles/values.dart'; import 'package:center/src/utils/theme_enum/theme_enum.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; class Styles { static get…
New post on /r/flutterdev subreddit:

How to install Runner.app/ipa from Codemagic.io on iPhone?
Created sample demo app with Android Studio (i'm on Windows, don't have mac), pushed to gitlab, started build on codemagick, got email with Runner.app file, exctracted it, put in inside Payload folder, then made an IPA from it by zipping it.uploaded ipa to these sites and tried to install on my iPhonehttps://www.installonair.com/ — app is downloading, but then "unable to install"
https://www.diawi.com/ — "4001009: Invalid .ipa file: missing embedded mobileprovision" getting this after uploading my ipa

July 01, 2020 at 05:26PM by ReglrErrydayNormalMF
https://ift.tt/31vY4qt
New post on /r/flutterdev subreddit:

Cubit is a lightweight state management solution. It is a subset of the bloc package that does not rely on events and instead uses methods to emit new states.
https://ift.tt/3cwe1yH

July 01, 2020 at 08:18PM by EngineerScientist
https://ift.tt/2AkGtXg
New post on /r/flutterdev subreddit:

Tell us your journey with flutter
This question is mainly addressed, but not limited, to flutter developpers with no app development background whatsoever, for the reasons below.As you might have guessed it, I have no background in app development, and even though I am learning more and more about the technology, I am still afraid to bump into some unforeseen obstacle that would make me quit.I would like, through this discussion, to gather people like me, so that it inspires other and myself to keep going forward and have an idea of what lies ahead.Please, do not spare the details, may you be remembered by all of us.

July 01, 2020 at 08:17PM by yandelyano
https://ift.tt/2VxCHBe
New post on /r/flutterdev subreddit:

Is it possible for the back button to have the same behaviour as the appbar's back arrow?
Hi guys ! I found a nice example on the internet of an app. It's about navigation between widgets.​article: https://medium.com/flutter/getting-to-the-bottom-of-navigation-in-flutter-b3e440b9386​full code: https://gist.github.com/HansMuller/b189642d10fd236a41044fdf7626f7b0How can I get the back button to have the same behaviour as the back arrow of the Appbar. The latter just returns to the previous screen. The backbutton exits the app entirely.​I managed to add WillPopScope at the root of the tree widget of HomePage:
WillPopScope( onWillPop: (){ //return Navigator.of(context).maybePop<bool>(false); Navigator.pushNamed(context, "/"); return Future.value(false); }, 
this works, but returns to the first tab of the bottomNavigationBar even if you have others selected. It still doesn't behave like the back arrow of the AppBar.​I tried replacing in the onWillPop callback with :
Navigator.of(context).maybePop<bool>(false); 
but with no success, it results in an endless loop. Even though the appbar actually calls this function.​What do you guys think of this?

July 01, 2020 at 08:36PM by 0x7ED
https://ift.tt/3gdYW7a
New post on Flutter Dev Google group:

Flutter 1.17.5 hotfix released to stable.
Hi, Flutter 1.17.5 has been released to stable. This is a hotfix release on the 1.17 branch and has no Dart update (it remains on 2.8.4). Changes for this build are listed below and are available on the Flutter Wiki here: Hotfixes to the Stable Channel
New post on /r/flutterdev subreddit:

I created a GitHub repo w/ useful references to Flutter
Hi guys.I just created a repo to take note about every useful package, lesson, guide and article that I find on the web. I'll update it every time I find something new. Feel free to suggest guides and stuff you think can improve the list.Link to the repository: GitHub

July 01, 2020 at 09:50PM by SaltySpag
https://ift.tt/2ZwHuUC