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

Sample application with flutter and firebase
Flutter Firebase Sample AppA Flutter application integrating Firebase for data storageCreate AccountLoginAll CRUD actions on data objectFlutter Features/Functionality UtilizedPagesSnackbar: showing errors and alertsNavigation: changing pages and showing modalsFutures: interacting with firebaseForms/Form Fields: login and creating an accountDate Picker: creating an itemDismissible: allows user to swipe to delete list itemStatefulWidgetStatelessWidgethttps://github.com/aaronksaunders/flutter_firebase_auth_appWatch Video Here: https://video.twimg.com/ext_tw_video/1126242410512769026/pu/vid/612x1280/oqi7wxmGwVh2z-CD.mp4?tag=9

May 09, 2019 at 06:37AM by aaronksaunders
http://bit.ly/2JqWRrn
New post on Flutter Dev Google group:

Creating an iOS framework and android library from a flutter project
Hi Current state: We have developers which build an android app (+library) and an iOS application (+framework). Goal: Have one common codebase which allows to build apps for both platforms (flutter) but also allows generating libs for those two platforms. Because we need to ship libs to our

May 09, 2019 at 09:53AM by sirLoaf
http://bit.ly/2H8NUl4
New post on /r/flutterdev subreddit:

I love flutter. But, Having a problem :(
I installed flutter in android studio. The Virtual device in android studio is not launching. when I launch Virtual device, I get some errors in the event log and my PC shuts down. (Using Windows 7)​+++Please mute while watching the video+++Video describing the problem: https://www.youtube.com/watch?v=jGo5Ezwtx1UNeed urgent help. Please help me out, Technical gurus. Thanks

May 09, 2019 at 09:48AM by DummyBoss
http://bit.ly/2Q3tkFH
New post on /r/flutterdev subreddit:

<b>Cannot able to take screenshot of CameraPreview in flutter</b>
pubspec.yaml (dependenices used)<pre>dependencies: flutter: sdk: flutter # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^0.1.2 # camera camera: # package for saving the screenshot image_picker_saver: ^0.1.0 # packge for toast-msg fluttertoast: ^2.0.0 </pre>build.gradle (app module):<pre>android { compileSdkVersion 28 lintOptions { disable 'InvalidPackage' } defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.example.using_camera" minSdkVersion 21 targetSdkVersion 28 versionCode flutterVersionCode.toInteger() versionName flutterVersionName testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } 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 } } } </pre>main.dart<pre>import 'package:flutter/material.dart'; import 'package:using_camera/camera_view.dart'; import 'package:camera/camera.dart'; import 'dart:async'; List<CameraDescription> cameras; Future<Null> main() async { cameras = await availableCameras(); runApp(MyApp()); } class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( debugShowCheckedModeBanner: false, theme: ThemeData( primaryColor: Colors.greenAccent, primarySwatch: Colors.green), home: CameraView(cameras), ); } } </pre>camera_view.dart<pre>import 'dart:typed_data'; import 'package:camera/camera.dart'; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; import 'dart:ui' as ui; import 'package:flutter/services.dart'; import "package:fluttertoast/fluttertoast.dart"; import 'package:image_picker_saver/image_picker_saver.dart'; class CameraView extends StatefulWidget { List<CameraDescription> cameras; CameraView(this.cameras); @override _CameraViewState createState() => _CameraViewState(); } class _CameraViewState extends State<CameraView> { CameraController controller; static GlobalKey previewContainer = new GlobalKey(); var filePath; @override void initState() { super.initState(); controller = CameraController(widget.cameras[0], ResolutionPreset.medium); controller.initialize().then((_) { if (!mounted) { return; } setState(() {}); }); } @override void dispose() { controller?.dispose(); // if controller is not null then dispose super.dispose(); } @override Widget build(BuildContext context) { if (!controller.value.isInitialized) { return Container(); } //CameraPreview(controller) return RepaintBoundary( key: previewContainer, child: Stack( children: <Widget>[ Positioned.fill( child: AspectRatio( aspectRatio: controller.value.aspectRatio, child: CameraPreview(controller), ), ), Center( child: Image.asset("assets/image.png"), // overlay image ), Positioned.fill( child: Opacity( opacity: 1.0, child: Image.asset( "assets/filter.png", // transparent background fit: BoxFit.fill, ), ), ), Align( alignment: Alignment.bottomCenter, child: RaisedButton( child: Text("Capture"), onPressed: (){ _takeScreenShot(); }, ), ) ], ), ); } Future _takeScreenShot() async { RenderRepaintBoundary boundary = previewContainer.currentContext.findRenderObject(); ui.Image image = await boundary.toImage(); ByteData byteData = await image.toByteData(format: ui.ImageByteFormat.png); Uint8List pngBytes = byteData.buffer.asUint8List(); print("pngBytes value : $pngBytes"); setState(() {}); filePath = await ImagePickerSaver.saveFile(fileData: pngBytes); toastMsg("Saved on ${filePath.toString()}"); print(filePath); print("inside _takeScreenShot"); } toastMsg(String msg) { var toast = Fluttertoast.showToast( msg: "$msg", toastLength: Toast.LENGTH_SHORT, gravity: ToastGravity.BOTTOM, timeInSecForIos: 3, backgroundColor: Colors.red
New post on /r/flutterdev subreddit:

How can I make the layout resize smoothly when the keyboard appears?
How can I make the layout resize smoothly when the keyboard appears?

May 09, 2019 at 11:43AM by xxyang
http://bit.ly/2Vnhwnr
New post on Flutter Dev Google group:

failure to load asset
the first screenshot is the problem highlighted the second is my pubspec.yaml file the third was my code, well, I was loading the first picture when I got the problem. the fourth is the hot reloaded simulator how can I sort out this error?

May 09, 2019 at 12:49PM by Isheanesu Mambo
http://bit.ly/2WxfoGg
New post on /r/flutterdev subreddit:

How to observe IOS native event notification in Flutter ? Like UIKeyboardWillShowNotification etc..
How to observe IOS native event notification in Flutter ? Like UIKeyboardWillShowNotification etc..

May 09, 2019 at 03:25PM by xxyang
http://bit.ly/2VZVPti
New post on /r/flutterdev subreddit:

Dart: Multi-Platform, Productive, Fast — Pick 3. Where is the video?
Couldn't find it in youtube. If anyone finds it, let me know please

May 09, 2019 at 02:59PM by bradofingo
http://bit.ly/2Hcfo7X
New post on Flutter Dev Google group:

GENIO BORSISTICO ED EROE CIVILE PERSEGUITATO A MORTE DAI VERMI ASSASSINI NAZISTI, MAFIOSI, CAMORRIST
GENIO BORSISTICO ED EROE CIVILE PERSEGUITATO A MORTE DAI VERMI ASSASSINI NAZISTI, MAFIOSI, CAMORRISTI, NDRANGHETISTI SILVIO BERLUSCONI E MATTEO SALVINI, IN QUANTO DA DECENNI, MICHELE, DENUNCIA LE MEGA CONCENTRAZIONI DI POTERI DI TIPO CRIMINALISSIMO..................DI SILVIO BERLUSCONI: IL

May 09, 2019 at 03:41PM by MICHELE NISTA: UN EROE CIVILE E GENIO BORSISTICO
http://bit.ly/2VTDePh
New post on Flutter Dev Google group:

How to implement a Search Method..?
I'm developing an app like this. There are about 50 cards and they all have a title. I want to filter the cards by its title. When I typed a word on the search bar, that card should be filtered. [image: home.png] Please Help...!!!

May 09, 2019 at 04:53PM by Yasas Sandeepa
http://bit.ly/2Jb7Vth
New post on /r/flutterdev subreddit:

How to created Flutter Web project
How to created flutter web project using terminal

May 09, 2019 at 04:18PM by ashokuni
http://bit.ly/2PV1ZW1
New post on /r/flutterdev subreddit:

flutter is just awesome
my app made in react native for scanning qr code was causing some trouble (mainly the api of the camera was slow and bad) here in the festival in my hometown. so i tried learn a little bit of flutter and do the same app in flutter.the smoothness, the speed are unmatched. im without words hahasome questions about flutter: 1. how do i master flutter? there any good courses/books?there is any tool like expo for flutter? yesterday the main problem when developing the app was testing because i needed the camera and everytime i made a change i needed to build an apk and send it to the phone.thank you

May 09, 2019 at 04:46PM by idzn7
http://bit.ly/2Vf3f7k
New tweet from FlutterDev:

#TBT

Take a look back in time of what's happened in Flutter this past year and what lies ahead.

Watch here &rarr; https://t.co/5FL5gPXJrD#io19 pic.twitter.com/OJKvO7KLQU— Flutter (@FlutterDev) May 9, 2019

May 09, 2019 at 05:28PM
http://twitter.com/FlutterDev/status/1126509272555114496
New tweet from FlutterDev:

Declarative UI frameworks eliminate whole classes of bugs, but they can also feel like a puzzle 🧩. Walk through a Flutter app with live data and see how to structure content in a simple, scalable way.

Tune in for #io19 now &rarr; https://t.co/rcCp6AFaI3 pic.twitter.com/f9QGxqbQTh— Flutter (@FlutterDev) May 9, 2019

May 09, 2019 at 07:20PM
http://twitter.com/FlutterDev/status/1126537364690624514
New post on /r/flutterdev subreddit:

Flutter Web demo now available online
http://bit.ly/2JbBGdI

May 09, 2019 at 07:00PM by Buckazoid07
http://bit.ly/2JpeWGm