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

Flutter IntelliJ Plugin M47.1 Release
We fixed two issues: - Fixed an NPE that was causing Gradle sync to fail. This affected stable Android Studio projects configured to use the experimental option for Java and Kotlin files. - Reverted a change that caused 'flutter run' to start paused. This was causing tests to

July 01, 2020 at 12:03AM by Steve Messick
https://ift.tt/31v3SAn
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