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

Learning flutter with no iOS experience.
I've been doing android developement for a while now, and flutter looks promising.How do I go about learning flutter if I have zero experience in iOS? Should I first get comfortable with iOS ?

May 24, 2021 at 09:03AM by ifarhanp
https://ift.tt/2Sk3iTN
New post on /r/flutterdev subreddit:

Hi, flutter community, on the 24 of June, I will be speaking at Flutter Global Submit, it’s going to be an advanced topic as most of my talk. You definitely need to see what I have cooked up for you
https://ift.tt/3wHrsGL

May 24, 2021 at 10:59AM by bitsydarel
https://ift.tt/3oHYBzb
New post on Flutter Dev Google group:

: package name must be a '.'-separated identifier list package in.navi.navi
Good evening Flutters, im using "in.navi.navi " as my flutter project package name , i got this error : package name must be a '.'-separated identifier list package in.navi.navi i googled about this error this error comes due to th usage of in as the domain extension , in is a default

May 24, 2021 at 12:48PM by Navaneethan MacAppStudio
https://ift.tt/3vkaRbq
New post on Flutter Dev Google group:

Hello, i need to create pagination
I have created it successfully. but when I load new data in at the end of scroll. it reset the old data, i want to persist the old data as well with new data, here is my code import 'dart:io'; import 'package:flutter/material.dart'; import 'product/products.dart'; import 'package:provider/provide

May 24, 2021 at 01:24PM by Attaullah Khan
https://ift.tt/3viiSxx
New post on Flutter Dev Google group:

What's next after submitting PR
Hey Everyone, So I submitted one Pull Request to flutter repo, I dont know what's next after these? Here is the link to my Pull Request Force user to atleast provide one from initalData or Future in FutureBuilder by agwanyaseen · Pull Request #83093 · flutter/flutter (github.com)
New post on /r/flutterdev subreddit:

PLease Rate my api calling with provider and suggest how can i improve. https://ift.tt/2SkfDHA
Model Classclass BannerModel {BannerModel({this.bannerId,.....this.image});final String bannerId;....​factory BannerModel.fromJson(Map<String, dynamic> json) {return BannerModel(bannerId: json['_id'],bannerTitle: json['show']['showTitle'],.....);}}​Provider Class or Apiclass BannerProvider with ChangeNotifier {bool loading = false;List<BannerModel> _banners = [];List<BannerModel> get banners { return [..._banners]; }getBannerData(context) async {loading = true;_banners = await fetchTask(context);loading = false;notifyListeners();}​fetchTask(context) async {var box = await Hive.openBox(keyHiveBox);var _token = box.get(keyToken);final response = await http.get(Uri.https(baseUrl, 'banners'), headers: {'Content-Type': 'application/json','Accept': 'application/json','Authorization': 'Bearer $_token',});if (response.statusCode == 200) {var data = json.decode(response.body) as List;_banners =data.map<BannerModel>((json) => BannerModel.fromJson(json)).toList();return _banners;}}}Main Classvoid main() async {runApp(MultiProvider(providers: providers,child: MyApp(),));}​List<SingleChildWidget> providers = [ChangeNotifierProvider<UserProvider>(create: (BuildContext context) => UserProvider()),ChangeNotifierProvider<BannerProvider>(create: (BuildContext context) => BannerProvider()),];​class MyApp extends StatelessWidget {// This widget is the root of your application.u/overrideWidget build(BuildContext context) {return MaterialApp(......}​Screenclass MyHomePage extends StatefulWidget {u/override_MyHomePageState createState() => _MyHomePageState();}​class _MyHomePageState extends State<MyHomePage> {​u/overridevoid initState() {​//banner providerfinal _bannerP = Provider.of<BannerProvider>(context, listen: false);_bannerP.getBannerData(context);}u/overrideWidget build(BuildContext context) {final _bannerP = Provider.of<BannerProvider>(context);return SafeArea(....child: _bannerP.loading? MyProgressBar(): ScrollConfiguration(behavior: NoGlowBehavior(),child: SingleChildScrollView(child: _connectionStatus == 'ConnectivityResult.none'? Container(): Column(children: [//Banner CardContainer(margin: EdgeInsets.symmetric(horizontal: 3, vertical: 5),child: CarouselSlider.builder(itemCount: _bannerP.banners.length,options: CarouselOptions(autoPlay: true, height: kBannerHeight, viewportFraction: 1),itemBuilder: (BuildContext context, int index, int realIndex) {return MyBannerWidgets(image: _bannerP.banners[index].image,id: _bannerP.banners[index].showId,);},),),}}}

May 24, 2021 at 02:04PM by Prashant_4200
https://ift.tt/34dKKac
New post on /r/flutterdev subreddit:

Decent machine for Apple development
My workflow has till now involved using Flutter on Windows, Linux (WSL) and Android and now I want to develop for iOS and Mac too. I am familiar with working with Mac through a VM but it is becoming expensive. I'm thinking of purchasing a Mac device. Preferably with M1. My budget is 70,000 INR max. I already have a laptop (Asus Zephyrus G15) for all other work (CAD, designing) and am wondering if the Mac mini 8gb is a good choice for developing with flutter + running an emulator. I will be using anydesk or similar tools when away from home.

May 24, 2021 at 01:45PM by realrk95
https://ift.tt/3vfGP8Y
New post on Flutter Dev Google group:

INCULA E UCCIDE BAMBINI: DANIELE MINOTTI! AVVOCATO PEDOFILO, SATANISTA, SATAN卐AZISTA, MASSON^PIDUISTA, ASSASSINO DI GENOVA, RAPALLO E CRIMINALISSIMO STUDIO LEGALE LISI!
INCULA E UCCIDE BAMBINI: DANIELE MINOTTI! AVVOCATO PEDOFILO, SATANISTA, SATAN卐AZISTA, MASSON^PIDUISTA, ASSASSINO DI GENOVA, RAPALLO E CRIMINALISSIMO STUDIO LEGALE LISI! É DA ARRESTARE L'AVVOCATO CHE RAPISCE, INCULA ED AMMAZZA TANTI BAMBINI: DANIELE MINOTTI (FACEBOOK) DI GENOVA, RAPALLO E

May 24, 2021 at 04:27PM by Andreas Nigg Bank J Safra Sarasin Zurich
https://ift.tt/2Sot9Kh
New post on /r/flutterdev subreddit:

Flutter Tap Weekly Newsletter Week 86 - Google I/O Edition - Tutorials, videos, packages, and much more!
https://ift.tt/3wvUmJO

May 24, 2021 at 05:33PM by vensign
https://ift.tt/2SoKpiw
New post on /r/flutterdev subreddit:

Flowder a friendly file downloader persistent state (continue, pause, cancel your file download)
Hello Flutterist (I hope that i write it good), Is an honour to share with all of you, a new member to the flutter plugins, named FLOWDER this was created due to the highly painful process of handle a download progress state, and be capable of resume, pause, cancel or start your download without having to rethink the state of persistent of the download.​This is the link to the pub.dev: https://pub.dev/packages/flowderand also the github repo: https://github.com/Crdzbird/flowder​I hope that this helps you in your daily task or learning :) and feel free to customize it as you like or leaving your suggestions.Btw... im participating in a competition named Flutter Quest, if you wanna please gave me a thumbs up vote, https://github.com/FlutterSpain/quest/issues/1#issuecomment-839986144

May 24, 2021 at 05:25PM by Ghost_InTheDart
https://ift.tt/3ubzFkN
New post on Flutter Dev Google group:

navigatori without back button
Hello, why do i use this code Navigator.push( context, MaterialPageRoute(builder: (context) => new MainPage()), ); and still get the back button ? [image: Captura.PNG]

May 24, 2021 at 06:58PM by aleix alfonso
https://ift.tt/3ullKIO
New post on Flutter Dev Google group:

Full demo app from a conference — where is it?
I recall at some conference maybe 6 months ago, there was a full demo app, some sort of gallery or something, that was introduced with source code. I’m trying to find it, but it isn’t in the gallery or sample code on the Flutter site that I can see. Where is it? And I propose we should have a

May 24, 2021 at 07:32PM by Guyren Howe
https://ift.tt/3oMVc23
New post on /r/flutterdev subreddit:

Hot reload button on VS Code Flutter Extension
Hi,Not exactly help (therefore not fitting for r/FlutterHelp), but more of a question about usage.I'm just trying to get my head around something (also to if I'm missing some configuration): On VS Code, the hot reload button (either ^F5 or the ray icon) doesn't really reload unless files are saved, correctly?
So, if Hot Reload on Save is set to either "manual" or "always", the button itself doesn't add much value other than forcing the hot reload (if it didn't happen for whatever reason).Am I correct or am I missing the nice capability to trigger hot reload from the unsaved files (although I'm not entirely sure how would it be useful)?Cheers.

May 24, 2021 at 07:05PM by tnarik
https://ift.tt/3wuOeBw
New tweet from FlutterDev:

🤩 Learn what's new in Flutter

Check out this #GoogleIO Keynote with @ZoeyFan723 and @csells to find out more about:

✌️ Flutter 2.2 release
🔼 Latest Updates to Dart and Flutter
🔧 Flutter DevTools
🌍 The ecosystem

… and more!

Watch 👉 https://t.co/SODp28PgLn pic.twitter.com/j4hE9cnLPf— Flutter (@FlutterDev) May 24, 2021

May 24, 2021 at 08:29PM
http://twitter.com/FlutterDev/status/1396896252365877255