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

How to Make your own widgets????
So now I am an Intermediate flutter developer. I have used Material Design and Cupertino Design so far. I tried to use the new Fluent App design but it was a bad experience(this package has poor documentation). So what if, I need to design my own Style of Ui, how can I design my own designed widgets ??? I use illustrator/figma/xd to design. How to make the graphics work for flutter? How does this custom design thing work?

February 28, 2022 at 01:54PM by Ananta_Datta
https://ift.tt/ROlUk9W
New post on /r/flutterdev subreddit:

Flutter Tap Weekly Newsletter Week 124 - Tutorials, videos, packages, and much more!
https://ift.tt/iZu6WxF

February 28, 2022 at 01:35PM by vensign
https://ift.tt/6PHK5AL
During the pandemic we all got used to online events (thank you WiFi!). The main advantage of online events is being able to participate from your home, office or deckchair. BUT in person events have the major advantage of face-to-face interaction and sandwiches made by someone else.
Flutter Heroes, happening on 11 March, will be both an online and in person event.
New post on /r/flutterdev subreddit:

Flutter Google Group should be fixed or retired
I belong to the Flutter Google Group flutter-dev.It is essentially a ghost town. Very few postings, a few a day.There is even a recurrent (several times in one day) spammer who has never been blocked.I guess I'll just leave, but it should be either at least rid of spammers or closed down or at least not recommended on the Flutter site.

February 28, 2022 at 11:51PM by gisborne
https://ift.tt/rnqtDIL
New post on /r/flutterdev subreddit:

Why is there "$" before class name in Dart?
I have seen $ before class names in dart/flutter. What purpose this "$" symbol serve in these below packages.There is a code in this package rx_bloc. How is a class extending itself with a $ sign?
class CounterBloc extends $CounterBloc{}And why is this auto_route package using a $ to extend another class
class AppRouter extends _$AppRouter{}Please someone explain it ?

March 01, 2022 at 05:55AM by akshat_tamrakar
https://ift.tt/Chi6eXs
New post on /r/flutterdev subreddit:

Why are InternetAddress.lookup('') requests not shown in the Dart Devtools Network Profiler?
I was looking to a package that checks if the device is really connected to internet. I found this one: flutter_network_connectivity and it works fine.Looking into the code I saw that this package uses InternetAddress.lookup('<custom website>') to check the connectivity.So I expected it to make http requests visible to the network profiler, but this actually doesn't happen.Anybody knows the difference between InternetAddress.lookup('') and a normal GET request?

March 01, 2022 at 12:13PM by marcoredz
https://ift.tt/yRMibEn
New post on /r/flutterdev subreddit:

Kotlin vs Dart
Kotlin is way better with flutter instead of dart, it's a great language come on, if you chose either one comment why.View Poll

March 01, 2022 at 12:22PM by Maherr11
https://ift.tt/FCKGI5W
New post on /r/flutterdev subreddit:

Is it possible to stop an async function abruptly in the middle of execution ?
In my Flutter Web app ,We calling a Future returning function that have some strings processing and also API calls .My need is, I need to stop a async function abruptly in the middle of executionI tried options like CancelableOperation ,CancelableCompleter and Timer...But these classes don't cancel the future itself, rather create wrappers like things where you can use to imitate the cancellation behaviour.That is , The future is still running calling APIs and getting response and processing the response and finally returning resultBut I need to stop the async function without executing even the next line or any inner callbacks, after being cancelled .Is it possible ?

March 01, 2022 at 12:19PM by RageshAntony
https://ift.tt/d2zZxGV
New post on /r/flutterdev subreddit:

Classic non-configurable CSV parser suitable for most use cases. Pretty fast parsing.
CSV parser (fast_csv) as a result of use of the parser builder.
I don't know why, but the generated parser is about 2.9-3.5 faster than the handwritten csv parser.
Can be used with Flutter.
Allows a bit of configuration - specifying a field separator (when using the extended version of the parser).
But in this case, it will parse the data no faster than a 2.9 times compared to the parser from the csv package.
When parsing large amounts of data, you can speed up parsing by a few seconds. This may be relevant for Desktop Flutter applications.

March 01, 2022 at 02:17PM by andrew_mezoni
https://ift.tt/X1KY4L9
New post on /r/flutterdev subreddit:

Flutter installation on Linux (Manjaro) not working
I've tried to get Flutter (for Android development) running. But it's a nightmare. Do you have any tips? Is there a working Docker image or something similar where everything is setup?

March 01, 2022 at 04:45PM by BlancII
https://ift.tt/av5Z6kV
New post on /r/flutterdev subreddit:

Figma2Flutter Beta - Converts Figma design to Flutter widgets (custom painted vector paths)
https://ift.tt/CxB9Tcm

March 01, 2022 at 09:45PM by semantifier
https://ift.tt/lXnFZkr
New tweet from FlutterDev:

📢 Want to receive news, opportunities, and resources for the Black community in tech? Sign up to the mailing list → https://t.co/Kgx1YbVr30 #BlackTechTwitter https://t.co/e4VDdPcDtX— Flutter (@FlutterDev) Mar 1, 2022

March 01, 2022 at 11:00PM
https://twitter.com/FlutterDev/status/1498780165178105858
New post on /r/flutterdev subreddit:

Does flutter_riverpod support something like this out the box?
Noticed you have to create an army of final variables to reference to the ref.watch method which can grow quickly. So I wrote the following, but i'm wondering if this solution is already supported out the box (and where can I find it) and if not can this be improved any?
class ProviderCollection<T> { final Map<dynamic, dynamic> _items = {}; void add<T>(dynamic name, ProviderListenable<T> provider) { if (name is! String && name is! Enum) { throw Exception("Name must be of type String or Enum"); } _items[name] = provider; } T get<T>(dynamic name) { return _items[name]; } } 
Example:
final providerStack = ProviderStack() ..add<Counter>("counter", ChangeNotifierProvider((_) => Counter(0))) ..add<int>("counter2", StateProvider((ref) => 0)); void main() { runApp( const ProviderScope( child: App(), ), ); } class App extends StatelessWidget { const App({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return const MaterialApp( title: "Example", home: HomeScreen(), ); } } class HomeScreen extends ConsumerWidget { const HomeScreen({Key? key}) : super(key: key); @override Widget build(BuildContext context, WidgetRef ref) { StateController<int> t = ref.watch(providerStack.get("counter2").state); // Counter t = ref.watch(providerStack.get("counter")); return Scaffold( appBar: AppBar( title: const Text("Hello"), ), body: Container( child: Center( child: Text('Counter ${t.state}'), // child: Text('Counter ${t.count}'), ), ), floatingActionButton: FloatingActionButton( onPressed: () { t.state++; // t.updateCount(); }, ), ); } } class Counter extends ChangeNotifier { int count; Counter(this.count); void updateCount() { count++; notifyListeners(); } } 


March 02, 2022 at 12:55AM by SaltTM
https://ift.tt/lZ6wFJK
New post on /r/flutterdev subreddit:

Pub.dev auto dark mode
I made a dark css theme for pub.dev (userstyles.org)​Changes automatically depending on the theme of the systemBut there is an option to force a dark theme​The theme itself: https://userstyles.org/styles/231195/auto-dark-pub-dev​Github: https://github.com/SergeShkurko/pub.dev-dark​On github all additional information with links to browser extensions and installation instructions (And showcase)

March 02, 2022 at 06:09AM by SergeShkurko
https://ift.tt/qCrvbLk
New post on /r/flutterdev subreddit:

Is there anyway to code with flutter android studio on a figma design, and please don't tell me that i have to use flutter ui because i don't have the time to code the design again.
Actually it's a university project where the groupe was divided into two binomes, one for design and one for coding, the binome design chose to work with figma, and it's the coding turn and it's been a while we since we were trying to code again and we have no time to do the design with flutter ui. Thank you.

March 02, 2022 at 05:54AM by infp812
https://ift.tt/kqIgOev