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

Unique usernames or only contacts?
Hey guys,I have been working on a chat app and I am confused on what to use. Should I enable users to create unique usernames like that in Instagram or should I enable chat with only their contacts like WhatsApp.What do you think is better and safer?

November 01, 2021 at 04:12PM by Apprehensive-Pack441
https://ift.tt/3jVPJog
New post on /r/flutterdev subreddit:

We just released a compatible Flutter SDK for our Feature Flagging platform, Flagsmith
Hey there. We've been working hard on improving our feature flagging Flutter SDK and we'd love your feedback. We're now web compatible too.Flagsmith is an open source feature flagging platform with first class support for Flutter.Thanks!

November 01, 2021 at 03:51PM by dabeeeenster
https://ift.tt/3w8Aldk
New tweet from FlutterDev:

🦋📚 Learn Flutter with the Flutter Community 💙 On November 3rd, we will review chapters 7 & 8 of #flutterapprentice, learn about app navigation, how to create deep links, handle web URLs, and answer your questions! Join the discussion 👉 https://t.co/O7oj0Ppwga https://t.co/rP4CVw5s32— Flutter (@FlutterDev) Nov 1, 2021

November 01, 2021 at 05:00PM
https://twitter.com/FlutterDev/status/1455202988981641223
New tweet from FlutterDev:

🦋 Grab the #flutterapprentice here 👇 https://t.co/TfgyFPT0fO— Flutter (@FlutterDev) Nov 1, 2021

November 01, 2021 at 05:04PM
https://twitter.com/FlutterDev/status/1455203994834407426
New post on /r/flutterdev subreddit:

Flutter Website Video Plays based on scrolling
I am working on a Flutter website which shows just a full screen video. Now this video won't play automatically or with play/pause button. It will seek video based on user scroll. Coming to what I tried was take video player controller and a scroll controller and using video controller's seek method and pass the scrollController value in its listener. The issue is where should I use this scroll controller? ListView, SingleChildScrollView needs content to get scroll values but I am having nothing but a full screen video. Can anyone please guide me? Thank You!

November 01, 2021 at 07:04PM by oLuffyGoat
https://ift.tt/3jSJ1zh
New post on /r/flutterdev subreddit:

Why is dart kind still 'intel' in the activity monitor?
When I open a flutter project in vsCode the activity monitors shows:'process Name' = dartand the 'kind' column shows: intelI am guessing this means it's running through Rosetta but it should be running natively on my m1 MBA ?here's my flutter --version output:Flutter 2.5.2 • channel stable • https://github.com/flutter/flutter.gitFramework • revision 3595343e20 (5 weeks ago) • 2021-09-30 12:58:18 -0700Engine • revision 6ac856380fTools • Dart 2.14.3

November 01, 2021 at 06:58PM by NeatFastro
https://ift.tt/2Y4f6fW
New post on /r/flutterdev subreddit:

Anyone done android TV app with flutter? Please Drop it in comment
Hello is there developers like me that need android TV special support in flutter? I spend so much time to do TV Support and easy access to all parts of the app so i hope flutter team make some libraries like Leanback so we develop apps faster

November 01, 2021 at 08:10PM by diyar_gulli
https://ift.tt/3BxxRpL
New post on /r/flutterdev subreddit:

Flutter SqlLite for windows app
Hello, I am a student and i start with flutter. I want to use sqllite in windows app.I have used this code : databasesPath = await getApplicationDocumentsDirectory(); path = join(databasesPath.toString(), 'base.db'); database = await openDatabase(path.toString(), version: 1, onCreate: (Database db, int version) async { });but i have this error : [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: MissingPluginException(No implementation found for method getDatabasesPath on channel com.tekartik.sqflite)0 MethodChannel._invokeMe

November 01, 2021 at 10:24PM by Assi_Maurel
https://ift.tt/3pYpZf0
New post on /r/flutterdev subreddit:

I made my first game using Flutter but you shouldn't. It was a Nightmare.
*** Read this ONLY if you wonder if you should use Flutter to build a mobile game ***I started this adventure with Flutter Bonfire (Package). It was very hard to understand and the lack of tutorial/documentation/stack-overflow was a big reason why I didn't enjoy it. (I'm sure it's a great package if you know how to use it tho). Then I decided to use Flame instead and I had the same problem/issue. (Lack of online information).So if you wonder if you should use Flutter to build a mobile game, I would suggest you to use Unity instead. I have never use Unity personally, but it seems to have MUCH more online documentation/tuto/stack-overflow.If I create an other game, I will definitively use Unity instead of Flutter. I Hope this help you in your decision.Let me know if you have more question.

November 02, 2021 at 01:37AM by fluttermapp
https://ift.tt/3EDroeO
New post on /r/flutterdev subreddit:

Hiring a teacher/developer from India
I’ve spent a bit of time learning some basic dart and flutter but it doesn’t come easily to me. I find it complicated and in it’s entirety rather unfathomable. Thing is I don’t want to be an all round programmer I just want to develop a particular app. I have the content and the design all ready and everything. My idea is to hire some one from India. He could teach me how to create the app on flutter and I could do all the work I could do for it. I suppose you could say they help me create the framework and I could do a lot of work like data entry that sort of stuff. Is my plan sound?

November 02, 2021 at 07:49AM by Kathleen_Chen
https://ift.tt/2ZHSDGb
New post on /r/flutterdev subreddit:

What's everyone working on or planning on working on?
What Flutter projects is everyone working on, or planning on doing? As for me, I'm planning on making a manga app.

November 02, 2021 at 02:04PM by 31Carlton7
https://ift.tt/3qehRqX
New post on /r/flutterdev subreddit:

<b>call method from another class using animationcontroller</b>
i new on flutter i want to call a method to a antother class i find this error 'LateInitializationError: Field 'animationController' has not been initialized.'could somebody help me please?import 'package:flutter/animation.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
class HomePage extends StatefulWidget {
const HomePage({Key? key}) : super(key: key);
<a href="/u/override">u/override</a>
_HomePageState createState() => _HomePageState();
}
class _HomePageState extends State<HomePage>
with SingleTickerProviderStateMixin {
late AnimationController animationController;
static const double maxSlide = 225.0;
static const double minDragStartEdge = 60;
static const double maxDragstartEdge = maxSlide - 16;
bool _canBeDragged = false;
<a href="/u/override">u/override</a>
void initState() {
super.initState();
animationController = AnimationController(
vsync: this, duration: const Duration(milliseconds: 250));
  }
void toggle() => animationController.isDismissed ? open() : close();
void close() => animationController.reverse();
void open() => animationController.forward();
// Declaration des page
var drawer = MyDrawer();
var customChild = MyCustomChild();
<a href="/u/override">u/override</a>
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: GestureDetector(
//gestation de comportments des page
onHorizontalDragStart: _onDragStart,
onHorizontalDragUpdate: _onDragUpdate,
onHorizontalDragEnd: _onDragEnd,
onTap: toggle,
child: AnimatedBuilder(
animation: animationController,
builder: (context, _) {
double numValue = animationController.value;
final slide = numValue * maxSlide;
final scale = 1.0 - (numValue * 0.3);
return Stack(children: [
drawer,
Transform(
transform: Matrix4.identity()
                        ..translate(slide)
                        ..scale(scale),
alignment: Alignment.centerLeft,
child: customChild),
                ]);
              }),
        ),
      ),
    );
  }
void _onDragStart(DragStartDetails details) {
bool isDragOpenFromLeft = animationController.isDismissed &&
details.globalPosition.dx < minDragStartEdge;
bool isDragCloseFromRight = animationController.isCompleted &&
details.globalPosition.dx > maxDragstartEdge;
_canBeDragged = isDragOpenFromLeft || isDragCloseFromRight;
  }
void _onDragUpdate(DragUpdateDetails details) {
if (_canBeDragged) {
double delta = details.primaryDelta! / maxSlide;
animationController.value += delta;
    }
  }
void _onDragEnd(DragEndDetails details) {
if (animationController.isDismissed || animationController.isCompleted) {
return;
    }
if (details.velocity.pixelsPerSecond.dx.abs() >= 365.0) {
double visualVelocity = details.velocity.pixelsPerSecond.dx /
MediaQuery.of(context).size.width;
animationController.fling(velocity: visualVelocity);
    } else if (animationController.value < 0.5) {
close();
    } else {
open();
    }
  }
}
class MyDrawer extends StatefulWidget {
MyDrawer({Key? key}) : super(key: key);
<a href="/u/override">u/override</a>
_MyDrawerState createState() => _MyDrawerState();
}
class _MyDrawerState extends State<MyDrawer> {
<a href="/u/override">u/override</a>
Widget build(BuildContext context) => Scaffold(
backgroundColor: //const Color.fromRGBO(21, 30, 61, 1),
Theme.of(context).primaryColor,
body: Container());
}
class MyCustomChild extends StatefulWidget {
// ignore: non_constant_identifier_names
const MyCustomChild({Key? key}) : super(key: key);
<a href="/u/override">u/override</a>
_MyCustomChildState createState() => _MyCustomChildState();
}
class _MyCustomChildState extends State<MyCustomChild> {
_HomePageState toggleDrawer = _HomePageState();
<a href="/u/override">u/override</a>
Widget build(BuildContext context) => Scaffold(
backgroundColor: Colors.yellow[800],
appBar: AppBar(
leading: IconButton(
onPressed:…
New tweet from FlutterDev:

🦋 Chapter 3: Pop Quiz! Which of the following is NOT the job of a "Layout" widget? #flutterapprentice— Flutter (@FlutterDev) Nov 2, 2021

November 02, 2021 at 05:08PM
https://twitter.com/FlutterDev/status/1455567582019285004
New post on /r/flutterdev subreddit:

Flutter notification
I want to to make a notification to keep on ringing until i stop it myself (just like the alarm system). Anyone can help?

November 02, 2021 at 08:04PM by shabriko
https://ift.tt/3CGG6kT
New tweet from FlutterDev:

RT @GooglePlayDev: Learn about our new policy updates designed just for YOU!➞ https://t.co/oasW9ryxc4 📆 On November 17, tune in to hear about: Latest policy updates December’s compliance requirements Insights into new Families policies Get your questions answered by experts https://t.co/cpF0OBO2L7— Flutter (@FlutterDev) Nov 2, 2021

November 02, 2021 at 10:31PM
https://twitter.com/FlutterDev/status/1455648899532734477