New post on /r/flutterdev subreddit:
A way to “werror” in Flutter?
I currently use the lint package, but that only throw warnings when the rules are broken.What I currently want is something similar to the werror flag in c, where all the warnings are treated as an error, and you can’t run the code if there is any of the active rules are broken.Currently I have to manually set every rule active in the the package to error. But this has the problem of extending the file over 100 lines, and will not automatically update if dart of the lint package changes the active rules in an update.What do you recommend?
February 27, 2020 at 07:53PM by Doroc0
https://ift.tt/3accEog
A way to “werror” in Flutter?
I currently use the lint package, but that only throw warnings when the rules are broken.What I currently want is something similar to the werror flag in c, where all the warnings are treated as an error, and you can’t run the code if there is any of the active rules are broken.Currently I have to manually set every rule active in the the package to error. But this has the problem of extending the file over 100 lines, and will not automatically update if dart of the lint package changes the active rules in an update.What do you recommend?
February 27, 2020 at 07:53PM by Doroc0
https://ift.tt/3accEog
reddit
A way to “werror” in Flutter?
I currently use the lint package, but that only throw warnings when the rules are broken. What I currently want is something similar to the...
New post on /r/flutterdev subreddit:
[provider] view model with collection of objects
Hello,I'm pretty new to flutter (and mobile development in general) and I'm trying to plan my app's architecture with provider.I have a state model that has collection of objects that have a collection of objects inside as well (think collection of todo lists):
February 27, 2020 at 09:46PM by jahu_len
https://ift.tt/3ck7yZ1
[provider] view model with collection of objects
Hello,I'm pretty new to flutter (and mobile development in general) and I'm trying to plan my app's architecture with provider.I have a state model that has collection of objects that have a collection of objects inside as well (think collection of todo lists):
class StateModel extends ChangeNotifier { List<TodoList> todoLists; }simplified TodoList class looks like this:
class TodoList { int id; List<Item> items; } class Item { int id; String name; bool status; // true is done, false is not done }Now one of my Views is ListView of my todo lists (where I display only name) and that's east. But I want to have a todo list detail view (where data of single todo list is displayed) where I want to mark todo items as done (i.e. set their status to true). How should I do it? I could have method in StateModel which would find a TodoList object by id, then mark items as done. This could look something like this:
class StateModel extends ChangeNotifier { // (...) void markItemAsDone(listId, itemId) { // find todo list in StateModel // find item in given list // mark it as done // notifyListeners() } }But this seems wrong. What I would like to have is a way to get TodoList object view model and use its methods, not StateModel methods. How should I approach this? Can I have another view model (TodoListState), and have a collection of TodoListState objects in StateModel? Is this a use case for ProxyProvider?I hope my question is clear, let me know if this needs more explanation.
February 27, 2020 at 09:46PM by jahu_len
https://ift.tt/3ck7yZ1
reddit
[provider] view model with collection of objects
Hello, I'm pretty new to flutter (and mobile development in general) and I'm trying to plan my app's architecture with provider. I...
New post on /r/flutterdev subreddit:
Best way to share data across widgets (I need something like events)
Hello, I'm new to Flutter and Dart in general.I want to create a Bluetooth application, so I have the MainScreen widget (which will display all information of connected Bluetooth device) and the widget to choose which device to connect with (DiscoveryPage).Basically the structure is the following:
February 27, 2020 at 09:37PM by albertoZurini
https://ift.tt/32wxnQZ
Best way to share data across widgets (I need something like events)
Hello, I'm new to Flutter and Dart in general.I want to create a Bluetooth application, so I have the MainScreen widget (which will display all information of connected Bluetooth device) and the widget to choose which device to connect with (DiscoveryPage).Basically the structure is the following:
routes: <String, WidgetBuilder>{ '/': (context) => MainScreen(), '/settings': (context) => SettingsScreen(), '/discovery': (context) => DiscoveryPage(), },So on the DiscoveryPage I'm using flutter_bluetooth_serial library, which strikes a function whenever a new device is found. What I want to do is share the device I am connected to from DiscoveryPage to MainScreen.Here is how I get new BT devices:
void _startDiscovery() { _streamSubscription = FlutterBluetoothSerial.instance.startDiscovery().listen((r) { setState(() { results.add(r); }); }); _streamSubscription.onDone(() { setState(() { isDiscovering = false; }); }); }Coming from a JS background I thought a global event could be the best solution, but as far as I know, this cannot be done in Flutter. How would you solve this problem?
February 27, 2020 at 09:37PM by albertoZurini
https://ift.tt/32wxnQZ
reddit
Best way to share data across widgets (I need something like events)
Hello, I'm new to Flutter and Dart in general. I want to create a Bluetooth application, so I have the MainScreen widget (which will display all...
New post on /r/flutterdev subreddit:
SaaS hackathon with Flutter
Hi, it hasn't been much since i have been practicing flutter and I know how to create basic flutter app frontend with navigation. We are planning on participating on a SaaS hackathon.We are planning on building an alp to help local small businesses on building a website. They can use the apo to add products and in the backend, we will be generating a webpage with basic template. We don't know how to implement it as we are not familiar with backend. So please help us. We accept new ideas for a SeaS apo as well. So we need to know what to learn for implementing this.
February 28, 2020 at 02:59AM by anandhakris
https://ift.tt/3chejKQ
SaaS hackathon with Flutter
Hi, it hasn't been much since i have been practicing flutter and I know how to create basic flutter app frontend with navigation. We are planning on participating on a SaaS hackathon.We are planning on building an alp to help local small businesses on building a website. They can use the apo to add products and in the backend, we will be generating a webpage with basic template. We don't know how to implement it as we are not familiar with backend. So please help us. We accept new ideas for a SeaS apo as well. So we need to know what to learn for implementing this.
February 28, 2020 at 02:59AM by anandhakris
https://ift.tt/3chejKQ
reddit
SaaS hackathon with Flutter
A subreddit for Google's portable UI framework.
New post on Flutter Dev Google group:
First view/route/screen to be the same as showsearch/showdelegate
I want to get an example app put together where the first view/route/screen is a search bar at the top and would just like to use showsearch in combination with searchdelegate as a first homepage without the back button. Any thoughts on how I could maybe achieve this? or atleast fake/mock this?
February 28, 2020 at 06:55AM by Daniel Legut
https://ift.tt/2vef07h
First view/route/screen to be the same as showsearch/showdelegate
I want to get an example app put together where the first view/route/screen is a search bar at the top and would just like to use showsearch in combination with searchdelegate as a first homepage without the back button. Any thoughts on how I could maybe achieve this? or atleast fake/mock this?
February 28, 2020 at 06:55AM by Daniel Legut
https://ift.tt/2vef07h
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
New post on /r/flutterdev subreddit:
Styling keyboard for android/iOS
I’m looking to make an “old school” app and was considering style the keyboard to the old styles as well, perhaps think Nokia or Old Samsung keyboard.Is this possible? Can someone point me in the right direction ?
February 28, 2020 at 08:13AM by temp02112019
https://ift.tt/39jrrx2
Styling keyboard for android/iOS
I’m looking to make an “old school” app and was considering style the keyboard to the old styles as well, perhaps think Nokia or Old Samsung keyboard.Is this possible? Can someone point me in the right direction ?
February 28, 2020 at 08:13AM by temp02112019
https://ift.tt/39jrrx2
reddit
Styling keyboard for android/iOS
I’m looking to make an “old school” app and was considering style the keyboard to the old styles as well, perhaps think Nokia or Old Samsung...
New post on Flutter Dev Google group:
Generating a view asynchronously with Flutter
Hi the code below generates a view based on arrays that are taken from a json rest. Then the code must be inserted from the array inside the view. However, when I start executing the code I have a series of errors that are reported below. The problem is that when the function *inizializzaValor
February 28, 2020 at 08:49AM by Dev Connect
https://ift.tt/397ZV5F
Generating a view asynchronously with Flutter
Hi the code below generates a view based on arrays that are taken from a json rest. Then the code must be inserted from the array inside the view. However, when I start executing the code I have a series of errors that are reported below. The problem is that when the function *inizializzaValor
February 28, 2020 at 08:49AM by Dev Connect
https://ift.tt/397ZV5F
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
New post on /r/flutterdev subreddit:
Flutter Design Patterns: An overview of the Decorator design pattern and its implementation in Dart and Flutter
https://ift.tt/2To20ny
February 28, 2020 at 08:35AM by mkobuolys
https://ift.tt/2VwdurU
Flutter Design Patterns: An overview of the Decorator design pattern and its implementation in Dart and Flutter
https://ift.tt/2To20ny
February 28, 2020 at 08:35AM by mkobuolys
https://ift.tt/2VwdurU
Medium
Flutter Design Patterns: 16 — Decorator
An overview of the Decorator design pattern and its implementation in Dart and Flutter
New post on /r/flutterdev subreddit:
Recreate android / ios directory
is there a way to recreate android and ios directory for an existing flutter project.
February 28, 2020 at 11:40AM by SriB
https://ift.tt/2veNuGM
Recreate android / ios directory
is there a way to recreate android and ios directory for an existing flutter project.
February 28, 2020 at 11:40AM by SriB
https://ift.tt/2veNuGM
reddit
Recreate android / ios directory
A subreddit for Google's portable UI framework.
New post on Flutter Dev Google group:
How to remove the html tags without using HTML packages
Below is my paragraph which is having html tags and I want to remove those without using html packages in flutter
How to remove the html tags without using HTML packages
Below is my paragraph which is having html tags and I want to remove those without using html packages in flutter
New post on /r/flutterdev subreddit:
Flutter for dev? What’s the state?
Can I use it for production use case? Is it stable enough?I was thinking if it’s stable then I don’t have to learn react...
February 28, 2020 at 12:40PM by temp02112019
https://ift.tt/2I5F9Ic
Flutter for dev? What’s the state?
Can I use it for production use case? Is it stable enough?I was thinking if it’s stable then I don’t have to learn react...
February 28, 2020 at 12:40PM by temp02112019
https://ift.tt/2I5F9Ic
reddit
Flutter for dev? What’s the state?
Can I use it for production use case? Is it stable enough? I was thinking if it’s stable then I don’t have to learn react...
New post on /r/flutterdev subreddit:
App Feedback Thread - February 28, 2020
This thread is for getting feedback on your own apps.Developers:must provide feedback for othersmust include Play Store, App Store, GitHub, GitLab, or BitBucket linkmust make top level commentmust make effort to respond to questions and feedback from commentersmay be open or closed sourceCommenters:must give constructive feedback in replies to top level commentsmust not include links to other appsTo cut down on spam, accounts who are too young or do not have enough karma to post will be removed. Please make an effort to contribute to the community before asking for feedback.As always, the mod team is only a small group of people, and we rely on the readers to help us maintain this subreddit. Please report any rule breakers. Thank you.- r/FlutterDev Mods
February 28, 2020 at 01:08PM by AutoModerator
https://ift.tt/2vnZK7J
App Feedback Thread - February 28, 2020
This thread is for getting feedback on your own apps.Developers:must provide feedback for othersmust include Play Store, App Store, GitHub, GitLab, or BitBucket linkmust make top level commentmust make effort to respond to questions and feedback from commentersmay be open or closed sourceCommenters:must give constructive feedback in replies to top level commentsmust not include links to other appsTo cut down on spam, accounts who are too young or do not have enough karma to post will be removed. Please make an effort to contribute to the community before asking for feedback.As always, the mod team is only a small group of people, and we rely on the readers to help us maintain this subreddit. Please report any rule breakers. Thank you.- r/FlutterDev Mods
February 28, 2020 at 01:08PM by AutoModerator
https://ift.tt/2vnZK7J
reddit
App Feedback Thread - February 28, 2020
This thread is for getting feedback on your own apps. ####Developers: - must **provide feedback** for others - must include **Play Store**,...
New post on /r/flutterdev subreddit:
Need Help With Flutter Doctor
I ALREADY GOOGLED A THOUSAND TIMES + Im in a complete feedback loop between This subreddit and androiddev reddit , so FORGIVE ME .Im having the hardest time of my life trying to run flutter doctor , everytime i run i get a new issue with android . here is my latest issue when i run flutter doctor .[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Linux, locale en_US.UTF-8)[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)✗ Android SDK file not found:/home/rootz/android-sdk/build-tools/28.0.3/aapt.[!] Android Studio (not installed)after searching online i still have no idea how to fix this issue.i can only run it from the cli since im using Vscode and not android studio ,( the packages can never download for me from android studio)how can i fix this issue so i can start developing my app ?
February 28, 2020 at 02:36PM by Crypto_Rootz
https://ift.tt/32CsK7L
Need Help With Flutter Doctor
I ALREADY GOOGLED A THOUSAND TIMES + Im in a complete feedback loop between This subreddit and androiddev reddit , so FORGIVE ME .Im having the hardest time of my life trying to run flutter doctor , everytime i run i get a new issue with android . here is my latest issue when i run flutter doctor .[✓] Flutter (Channel stable, v1.12.13+hotfix.8, on Linux, locale en_US.UTF-8)[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)✗ Android SDK file not found:/home/rootz/android-sdk/build-tools/28.0.3/aapt.[!] Android Studio (not installed)after searching online i still have no idea how to fix this issue.i can only run it from the cli since im using Vscode and not android studio ,( the packages can never download for me from android studio)how can i fix this issue so i can start developing my app ?
February 28, 2020 at 02:36PM by Crypto_Rootz
https://ift.tt/32CsK7L
reddit
Need Help With Flutter Doctor
I ALREADY GOOGLED A THOUSAND TIMES + Im in a complete feedback loop between This subreddit and androiddev reddit , so FORGIVE ME . Im having the...
New post on /r/flutterdev subreddit:
Best package for creating charts
Hello everyone!I'm currently working on an app that will need both a line graph and a pie chart. I didn't see any 1st party packages for creating charts in pub.dev, and was wondering if you all had any suggestions. I used Syncfusion which was working great until I realized there was no free license.Thanks!
February 28, 2020 at 03:21PM by krazzyjman
https://ift.tt/2Pyzcrh
Best package for creating charts
Hello everyone!I'm currently working on an app that will need both a line graph and a pie chart. I didn't see any 1st party packages for creating charts in pub.dev, and was wondering if you all had any suggestions. I used Syncfusion which was working great until I realized there was no free license.Thanks!
February 28, 2020 at 03:21PM by krazzyjman
https://ift.tt/2Pyzcrh
reddit
Best package for creating charts
Hello everyone! I'm currently working on an app that will need both a line graph and a pie chart. I didn't see any 1st party packages for...
New post on /r/flutterdev subreddit:
Smart mirror with Flutter?
I've seen smart mirrors running android either on an old tablet or a stick, but are there any repos or effort being made to make something like Magic Mirror or something android equivalent for Flutter?( Don't know what post flair this goes under )
February 28, 2020 at 04:30PM by pro-tous
https://ift.tt/3cjAdNu
Smart mirror with Flutter?
I've seen smart mirrors running android either on an old tablet or a stick, but are there any repos or effort being made to make something like Magic Mirror or something android equivalent for Flutter?( Don't know what post flair this goes under )
February 28, 2020 at 04:30PM by pro-tous
https://ift.tt/3cjAdNu
reddit
Smart mirror with Flutter?
I've seen smart mirrors running android either on an old tablet or a stick, but are there any repos or effort being made to make something like...
New post on Flutter Dev Google group:
Need Immediately .Net developer for my client in Danville, PA.
Hello Associates, Any available local consultants for *.NET Developer* I have an excellent project with my client *Danville, PA.* Please send your resume to *fah...@mirthconsulting.net*
Need Immediately .Net developer for my client in Danville, PA.
Hello Associates, Any available local consultants for *.NET Developer* I have an excellent project with my client *Danville, PA.* Please send your resume to *fah...@mirthconsulting.net*
New post on /r/flutterdev subreddit:
Flutter Web: Things to know…
https://ift.tt/2uHGO3y
February 28, 2020 at 05:41PM by EngineerScientist
https://ift.tt/2uDmC2G
Flutter Web: Things to know…
https://ift.tt/2uHGO3y
February 28, 2020 at 05:41PM by EngineerScientist
https://ift.tt/2uDmC2G
Hillel Coren
Flutter Web: Things to know…
About two years ago we decided to rewrite our native mobile apps using Flutter, then a year later we decided to use Flutter Web to convert our mobile app into our new web app. You can see the resul…
New tweet from FlutterDev:
Like to know when your pubspec.yaml could use an update?
👉If you use IntelliJ, there's a plugin for that, created by Flutter #GDE @p_szklarska! #FlutterFriday
Plugin here → https://t.co/uCBAYszN5T pic.twitter.com/ZcXN2cknmD— Flutter (@FlutterDev) February 28, 2020
February 28, 2020 at 06:32PM
http://twitter.com/FlutterDev/status/1233444931986870273
Like to know when your pubspec.yaml could use an update?
👉If you use IntelliJ, there's a plugin for that, created by Flutter #GDE @p_szklarska! #FlutterFriday
Plugin here → https://t.co/uCBAYszN5T pic.twitter.com/ZcXN2cknmD— Flutter (@FlutterDev) February 28, 2020
February 28, 2020 at 06:32PM
http://twitter.com/FlutterDev/status/1233444931986870273
Twitter
#gde hashtag on Twitter
25m ago @AndroidDev tweeted: "💡 Android #GDE and Microsoft Software E.." - read what others are saying and join the conversation.
New tweet from FlutterDev:
😎Give your widgets some awesome shades!
ShaderMasks are one of Flutter’s hidden gems. ShaderMasks let you apply a shader to one or more widgets in a tree.
✅Apply gradients.
✅Apply images.
And more...
More #WidgetoftheWeek here → https://t.co/rXrZCUNZsl pic.twitter.com/jv5rNZLgxp— Flutter (@FlutterDev) February 28, 2020
February 28, 2020 at 09:04PM
http://twitter.com/FlutterDev/status/1233483140221427712
😎Give your widgets some awesome shades!
ShaderMasks are one of Flutter’s hidden gems. ShaderMasks let you apply a shader to one or more widgets in a tree.
✅Apply gradients.
✅Apply images.
And more...
More #WidgetoftheWeek here → https://t.co/rXrZCUNZsl pic.twitter.com/jv5rNZLgxp— Flutter (@FlutterDev) February 28, 2020
February 28, 2020 at 09:04PM
http://twitter.com/FlutterDev/status/1233483140221427712
Twitter
#widgetoftheweek hashtag on Twitter
15h ago @FlutterDev tweeted: "✏️ Writing your own button controls from.." - read what others are saying and join the conversation.
New post on Flutter Dev Google group:
Flutter IntelliJ Plugin M44 Release
Flutter IntelliJ Plugin M44 Release Dev channel The dev channel was announced in the previous release. Instructions for switching from stable to dev are in the release notes: https://ift.tt/3cjtbsk It is now fully automatic. A new version is
February 28, 2020 at 09:07PM by Steve Messick
https://ift.tt/3ci1KPt
Flutter IntelliJ Plugin M44 Release
Flutter IntelliJ Plugin M44 Release Dev channel The dev channel was announced in the previous release. Instructions for switching from stable to dev are in the release notes: https://ift.tt/3cjtbsk It is now fully automatic. A new version is
February 28, 2020 at 09:07PM by Steve Messick
https://ift.tt/3ci1KPt
Google
Google Groups
Google Groups allows you to create and participate in online forums and email-based groups with a rich experience for community conversations.
New post on /r/flutterdev subreddit:
Awesome Paint App Using Custom Painter | Flutter Tutorial
https://www.youtube.com/watch?v=Zv5T2C1oKus
February 28, 2020 at 10:34PM by Elixane
https://ift.tt/3agOubU
Awesome Paint App Using Custom Painter | Flutter Tutorial
https://www.youtube.com/watch?v=Zv5T2C1oKus
February 28, 2020 at 10:34PM by Elixane
https://ift.tt/3agOubU
YouTube
Flutter - Awesome Paint App Using Custom Paint | Flutter Tutorial
#flutter #custompaint #paintapp
In this Flutter Tutorial, we will be taking a look at a very power widget, that is Flutter Custom Paint. We will be creating an elegant Paint App in Flutter using Custom Paint, with the functionality to let user change the…
In this Flutter Tutorial, we will be taking a look at a very power widget, that is Flutter Custom Paint. We will be creating an elegant Paint App in Flutter using Custom Paint, with the functionality to let user change the…