Flutter Heroes
26.1K subscribers
272 photos
2 videos
31.1K links
Download Telegram
New tweet from FlutterDev:

D. All of the above is the correct answer! 🥳— Flutter (@FlutterDev) Jan 11, 2022

January 11, 2022 at 09:40PM
https://twitter.com/FlutterDev/status/1481003098210332674
New tweet from FlutterDev:

D. A & B is the correct answer! 🥳— Flutter (@FlutterDev) Jan 11, 2022

January 11, 2022 at 09:41PM
https://twitter.com/FlutterDev/status/1481003246781038593
New post on /r/flutterdev subreddit:

<b>HELP PLEASE: I am trying to make a front that has a button to pick an image from gallery and replace it with the current one</b>
Hi,I am having a hard time trying to make the pick from gallery button work, I tried so many tutorials and videos, and IDK what I am doing wrong, please help me solve this.The image of the interface link is below code<pre>import 'dart:io'; import 'dart:ui'; import 'package:image_picker/image_picker.dart'; import 'package:flutter/material.dart'; void main() { runApp(MaterialApp( debugShowCheckedModeBanner: false, home: HomePage(), )); } class HomePage extends StatefulWidget { @override _HomePageState createState() => _HomePageState(); } class _HomePageState extends State<HomePage> { File? image; Future pickImage(ImageSource source) async{ final image = await ImagePicker().pickImage(source: source); if (image== null) return; final imageTemporary =File(image.path); this.image = imageTemporary; } final formKey = GlobalKey<FormState>(); //key for form @override Widget build(BuildContext context) { final double height= MediaQuery.of(context).size.height; final GlobalKey<ScaffoldState> _scaffoldKey = GlobalKey<ScaffoldState>(); return Scaffold( appBar: AppBar( elevation:0, brightness: Brightness.light, backgroundColor:Colors.white, leading: Icon(Icons.arrow_back_outlined,size: 20,color: Colors.black), title:Text('Enregistrer',style: TextStyle(fontSize: 15,color:Colors.blue),textAlign:TextAlign.right), ), body: SingleChildScrollView( padding: EdgeInsets.symmetric(horizontal: 20 ), child: Form( key: formKey, child: Column( mainAxisAlignment: MainAxisAlignment.spaceBetween, children:<Widget> [ Column( children: [ if(Image ==null ?(Image.asset("images/emilia.jpeg",height: 150,width: 150))):null, pickImage != null ? FileImage(pickImage): null, Row( children:[ OutlineButton.icon( icon:Icon(Icons.camera_alt_outlined,color:Colors.black), onPressed: (){pickImage(ImageSource.camera);}, label: Text('Appareil photo',style: TextStyle(fontSize: 10.0)), ), OutlineButton.icon( icon:Icon(Icons.photo_album_rounded,color:Colors.black), onPressed: (){pickImage(ImageSource.gallery);}, label: Text('ouvrir la Gallerie',style: TextStyle(fontSize: 10.0)), ) ] ), ], ), Column( crossAxisAlignment: CrossAxisAlignment.stretch, children:<Widget> [ Text('nom', textAlign:TextAlign.left), SizedBox(width:2.0), TextFormField( decoration: InputDecoration( border: OutlineInputBorder(), labelText: 'nom', hintText: 'Entrer votre nom', ), validator:(value) { if (value!.isEmpty || !RegExp(r'^[a-z A-Z]+$').hasMatch(value!)); return "entrer votre nom"; } ), SizedBox(height: 10.0), Text('prénom', textAlign:TextAlign.left), TextFormField( decoration: InputDecoration( border: OutlineInputBorder(), labelText: 'prénom', hintText: 'Entrer votre prénom', ), validator:(value) { if (value!.isEmpty || !RegExp(r'^[a-z A-Z]+$').hasMatch(value!)); return "entrer votre prénom"; } ), Text("Date d'anniversaire", textAlign:TextAlign.left), SizedBox(height: 10.0), TextFormField( decoration: InputDecoration( border: OutlineInputBorder(), labelText: "Date d'anniversaire", hintText: 'Entrer votre date', ), validator:(value) { if (value!.isEmpty || !RegExp(r'^[+]*[(]{0-9}{1,4}[)]{0,1}[-\s\./0-9]+$').hasMatch(value!)); return "entrer votre date"; } ), Text('Adresse e-mail', textAlign:TextAlign.left), SizedBox(height: 10.0), TextFormField( decoration: InputDecoration( border: OutlineInputBorder(), labelText: 'Adresse e-mail', hintText: 'Entrer votre mail', ), validator:(value){ if (value!.isEmpty|| !RegExp(r'^[a-z A-Z]+$').hasMatch(value!)); return "Entrer votre mail"; } ), Text('Numéro de téléphone', textAlign:TextAlign.left), SizedBox(height: 10.0), TextFormField( decoration: InputDecoration( border: OutlineInputBorder(), labelText: 'numéro de téléphone', hintText: 'entrer votre numéro de téléphone', ), validator:(value){ if (value!.isEmpty|| !RegExp(r'^[+]*[(]{0-9}{1,4}[)]{0,1}[-\s\./0-9]+$').hasMatch(value!)); return "Entrer votre telephone"; } ), Text('langue parlée', tex…
New post on /r/flutterdev subreddit:

Flutter Images Approaches
what's the best approach for using a lot of photos in your app ,using images online , or putting it an assets folder? considering having around 500 images that you wanna display ..

January 12, 2022 at 04:07AM by Adventurous_Alarm375
https://ift.tt/333zikQ
New post on /r/flutterdev subreddit:

flutter for a simple app
Hi! I'm new in this flutter stuff, so I was wandering, I want to create a simple mobile app, it will contain stuff like menus, images and text, it is thought to work offline, and if everithing goes ok, I'd like to evolve the app into something more complex... not too complex but I want to know if flutter allows me to grow the first concept of my app.So.. is flutter trustworthy to make a fast, simple app, with potencial to become something more complex?Thanks a lot, I'll read you! :D

January 12, 2022 at 07:48AM by MrKingDice9
https://ift.tt/3Fl7u8D
New post on /r/flutterdev subreddit:

How can we merge 2 or more images into 1 png file ?
any idea how to merge multiple images into 1 single image in flutter ?this package merges it either verticle or horizontal. https://pub.dev/packages/merge_images
I need them to overlay one over the other.

January 12, 2022 at 10:57AM by Amanullahaf
https://ift.tt/33liKEx
New post on /r/flutterdev subreddit:

Looking for Flutter/Dart resources
Hey everyone, I am quite new to Flutter/Dart and looking for some resources like blogs, discord groups etc. beside the developer documentation. Shameless self promotion is welcome 😉. Any suggestions?
I come from iOS development and there I have a list of blogs etc which look into new frameworks, language features and so one. I fly over those from time to time to keep up to date and find exiting things.

January 12, 2022 at 11:42AM by Gschiidli
https://ift.tt/3niGDnn
New post on /r/flutterdev subreddit:

Is it worth migrating big Flutter App to Null Safety ?
My company has a big Flutter Project using the BLoC pattern & is still running on an old Flutter Version without Null SafetyIs worth migrating to Null Safety - can I still benefit from new Packages built with Null Safety without migrating my App ?Can i use the most recent Flutter version for this project without migrating to null safety?

January 12, 2022 at 11:40AM by Isifdis
https://ift.tt/34L10mL
New post on /r/flutterdev subreddit:

Package for draggable floating chat icon with popup message UI
Just published my first ever package to pub.dev!It creates a customisable chat (or other type of widget) which can be dragged around the screen and will lock to one of the four corners. Popup messages can be shown and hidden also.Let me know if there's anything you'd like to see added to it!

January 12, 2022 at 01:23PM by JackMobileDev
https://ift.tt/3FiSJTt
New post on /r/flutterdev subreddit:

Resources to help getting back to Flutter after some time?
Hi, I am wondering if anyone could help share some docs or videos, to cover the last 6 months of development in Flutter.
I was learning something different, and now after half a year am coming back to Flutter and trying to catch up to anything I missed.Thanks.

January 12, 2022 at 02:15PM by ConnectSet57
https://ift.tt/334AAMp
New tweet from FlutterDev:

RT @GoogleDevExpert: 🛣️ Buckle up and get on the road to becoming a GDE! → https://t.co/R0YXWeFqUW #RoadtoGDE is a mentoring program supporting underrepresented groups in tech to become Google Developers Experts. 🌍 Applications for the EMEA, LATAM, and India classes just opened. Apply now! https://t.co/iITX8gkWuV— Flutter (@FlutterDev) Jan 12, 2022

January 12, 2022 at 03:00PM
https://twitter.com/FlutterDev/status/1481264705113141251
New post on /r/flutterdev subreddit:

SeniorDevs! What do u generally use platform calls for?
I'm still somewhat new to flutter, as senior devs out there what are the most common things u consider to do with platform calls? I initially thought of using platform call to use the tabula java library to extract pdf tables, although I didn't go through with it in the end finding a better and simpler alternative. I'm just curious what do use it for generally?

January 12, 2022 at 04:48PM by S0ULBoY
https://ift.tt/3fdUIy5
New post on /r/flutterdev subreddit:

lite GraphQL light way client idea
/r/dartlang/comments/s2a4ch/lite_graphql_light_way_client_idea/

January 12, 2022 at 05:20PM by crazyjoker96
https://ift.tt/3I0dtBc
New tweet from FlutterDev:

🌀 Push your creativity to the limit Show what you can do with Flutter in the #FlutterPuzzleHack! Share your solution for a chance to win big. 🏆 🎨 Create a new design 🛠 Rebuild the puzzle from scratch Integrate packages in new ways Start here 👉 https://t.co/fH3oUV69UE https://t.co/BaoHpGdwnr— Flutter (@FlutterDev) Jan 12, 2022

January 12, 2022 at 06:00PM
https://twitter.com/FlutterDev/status/1481310009828990983
New post on /r/flutterdev subreddit:

where to crop and resize an image in clean architecture?
I need to edit an image before sending it to the server. How should I implement this logic? I don't think it makes sense to put it directly in the usecase or in the repository, because no database is used for this.

January 12, 2022 at 07:32PM by brunowired
https://ift.tt/3zPVsmx