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

I need to Expanded this cloumn
How to make this column flexible or expanded with more tall product picture child: Column( mainAxisSize: MainAxisSize.min, crossAxisAlignment: CrossAxisAlignment.start, children:
New post on /r/flutterdev subreddit:

DART COMUNICAÇÃO UDP/CLIENTE
DART COMUNICAÇÃO UDP/CLIENTE...NÃO CONSIGO RECEBER MESAGEM UDP, preciso criar um cliente para ouvir as porta UDP.. como faço?void connect(InternetAddress clientAddress, int port) {
Future.wait([RawDatagramSocket.bind(InternetAddress.ANY_IP_V4, 0)])
      .then((values) {
RawDatagramSocket udpSocket = values[0];
    udpSocket.listen((RawSocketEvent e) async {
print(e);
switch (e) {
case RawSocketEvent.READ:
Datagram dg = udpSocket.receive();
print(dg);
if (dg != null) {
            dg.data.forEach((x) => print(x));
          }
          udpSocket.writeEventsEnabled = true;
break;
case RawSocketEvent.WRITE:
var descod = HEX.decode('3C 25 25 01 4A 36 3e'); // vira int ASCII
print(descod);
var desco = HEX.encode(descod);
          udpSocket.send(descod, clientAddress, port);
break;
case RawSocketEvent.CLOSED:
print('Client disconnected.');
      }
    });
  });
}
void main() {
print("Connecting to server..");
var address = new InternetAddress('192.168.10.132');
int port = 7777;
connect(address, port);
}

March 30, 2021 at 09:22PM by PreparationMurky3069
https://ift.tt/39uvIjr
New post on /r/flutterdev subreddit:

Multi-environment Flutter Deployments using Github Pages
https://ift.tt/3fr8MFJ

March 31, 2021 at 02:23AM by chimon2000
https://ift.tt/3wgQcGq
New post on Flutter Dev Google group:

How to notify a high level Provider from a singleton? (Flutter design pattern)
In my app I have a singleton *SettingsData* which holds all of the user's settings data (instead of having to read asynchronously from SharedPreferences every time do it once). I create that singleton before calling RunApp(...). On top of that I have a Widget *CurrentItems* (which is a

March 31, 2021 at 03:24AM by yoni keren
https://ift.tt/2QSPb77
New post on /r/flutterdev subreddit:

Does flutter support multiple instances for iPadOS and Desktop?
Apps like Safari or MS Word on the iPad have support for multiple instances, can a flutter app be built with support for multiple instances on both iPadOS and desktop?

March 31, 2021 at 06:14AM by kakakalado
https://ift.tt/3m7ykce
New post on /r/flutterdev subreddit:

Pros and Cons of using Flutter_Bloc vs StreamBuilder and RxDart
I use the built-in StreamControllers and RxDart Observables to manage my state. However, in order to work in a team, I have to learn flutter_bloc because almost everyone is using it. What are the pros and cons of using flutter_bloc vs built-in streams and rxdart? It looks like flutter_bloc is over complicating something that isn't complicated by mapping events to states rather than calling the events directly to update the state.

March 31, 2021 at 06:11AM by quantumizeCode
https://ift.tt/3cBXXyT
New post on Flutter Dev Google group:

What is the purpose of isExtended parameter in FloatingActionButton constructor?
Hello! FAB unnamed constructor has isExtended bool parameter. However, setting it true doen't make the button extended, since this constructor sets tight width constraints regardless of isExtended value. Are there any usecases for this parameter in default constructor? Otherwise, this parameter

March 31, 2021 at 10:07AM by Eugene Ostrovsky
https://ift.tt/3cAoxbm
New post on /r/flutterdev subreddit:

CSV files and Flutter Web
Has anyone had some success with opening a CSV file from Flutter web and using that file?I've tried a lot of packages, but none seem te be doing the job.Any help would be much appreciated.

March 31, 2021 at 11:38AM by MentalMarzipan5
https://ift.tt/2O8InkF
New post on /r/flutterdev subreddit:

Looking for Feedback About my State Management Approach
Hello all,I’ve come up with my own state management pattern (and package that implements it) and I’m looking for feedback on it. It’s similar to using Provider/ChangeNotifier but extends that concept further. Please feel free to critique it as harshly as you wish! That’s the kind of feedback I’m interested in.Here’s my write up of my approach:https://link.medium.com/qi6K4haq4ebPlease let me know what you think!

March 31, 2021 at 11:04AM by JonathanAird
https://ift.tt/3fxlKSe
New post on Flutter Dev Google group:

VerificationFailed Firebase
Hello, my application has been published on Huawei AppGallery. We can download the application from a real phone. But thanks to phone verification, it does not login. I'm getting an error saying we couldn't verify your phone number. Can you help me ? I am authenticating with a Firebase phone. I

March 31, 2021 at 12:13PM by Muti
https://ift.tt/3wa7apT
New post on /r/flutterdev subreddit:

Arguments for using Flutter over React native
So my company are wanting to build a new mobile app, they've used react for web a lot and are considering react native for said app. I'm wondering if anyone has been in a similar position before? Or if anyone had good arguments for flutter over React native? Thanks!

March 31, 2021 at 01:07PM by Northernguy94
https://ift.tt/3w8VJyF
New post on /r/flutterdev subreddit:

VRouter 1.1
🚀 VRouter v1.1 is out 🚀A major update which makes this navigation package even simpler while more powerful.Also check out vrouter.dev which contains the new documentation and has for the first time a set of examples to get started 🔥🔥Support VRouter by liking it on pub.dev, and go build some amazing apps with it!

March 31, 2021 at 04:10PM by Lulupointu
https://ift.tt/3rz2MND
New post on /r/flutterdev subreddit:

The only way to use AnimatedIcons on flutter is to use the pre-compiled ones provided with the framework.
https://shapeshifter.design is a tool made for animating icons and create beautiful results as shown in the material guidelines: https://material.io/design/iconography/animated-icons.html#transitionsIronically enough, most of the transitions shown in the guidelines are not even provided among the AnimatedIcons presets.But the thing I cannot bring myself to understand is: we cannot import any SVG animation file to generate an AnimatedIconData instance.If we design some animated icons ourselves, there's no way of using them within the flutter framework through the AnimatedIcon widget.Apparently, the original animated icons provided by the flutter team are converted as pure dart files through this "vitool" tool: https://github.com/flutter/flutter/tree/master/dev/tools/vitoolBut they say it's intended for private use and don't even support all SVG commands, so they just used it to make their set of provided AnimatedIcons and that's it.I think they should provide a way to import our own custom designs into flutter, just like the FlutterIcon tool can grab our static SVG files and compile them into a font file we can use to import our custom icons as a flutter IconData object.EDIT: I just opened an issue here https://github.com/flutter/flutter/issues/79450 If you guys would like to add to the discussion there as well, it would be very helpful

March 31, 2021 at 03:25PM by VittorioMasia
https://ift.tt/3cAAA8C
New post on Flutter Dev Google group:

Using Navigator in Stream Builder
I want to build a list whose children are wrapped with StreamBuilder. I am using Navigator.push() inside the StremBuilder but when the Stream gets update the new page (to which I routed using Navigator) is not updating. I know it is happening because new page is not the descendent of StreamBuilde

March 31, 2021 at 04:50PM by Rakesh Singh
https://ift.tt/3weCyn1
New post on Flutter Dev Google group:

Using Navigator in Stream Builder
I want to build a list whose children are wrapped with StreamBuilder. I am using Navigator.push() inside the StremBuilder but when the Stream gets update the new page (to which I routed using Navigator) is not updating. I know it is happening because new page is not the descendent of StreamBuilde

March 31, 2021 at 04:50PM by Rakesh Singh
https://ift.tt/31xzjZB