New post on /r/flutterdev subreddit:
How to get movies genre from tmdb API
When i send a request and i get the results back i get something like this"results": [ { "id": 423204, "video": false, "vote_count": 578, "vote_average": 5.8, "title": "Angel Has Fallen", "release_date": "2019-08-21", "original_language": "en", "original_title": "Angel Has Fallen", "genre_ids": [ 28 32 ], "backdrop_path": "/k2WyDw2NTUIWnuEs5gT7wgrCQg6.jpg", "adult": false, "overview": "After the events in the previous film, Secret Service agent Mike Banning finds himself framed for an assassination attempt on the President. Pursued by his own agency and the FBI, Banning races to clear his name and uncover the real terrorist threat which has set its sights on Air Force One.", "poster_path": "/fapXd3v9qTcNBTm39ZC4KUVQDNf.jpg", "popularity": 169.408, "media_type": "movie" },......So it's easy to get the title and overview or other values that i can access them here but for example I've genre_ids that give me a number so i can use it directly as a genre for movies I've to send another request to get the genres ids and genre And i get something like this :{ "genres": [ { "id": 28, "name": "Action" }, { "id": 12, "name": "Adventure" }, { "id": 16, "name": "Animation" }, { "id": 35, "name": "Comedy" }, { "id": 80, "name": "Crime" }, ......But i don't know how to get the genres here!? What's the idea to compare the genre_ids from the results i have to the id in this genres to get the genres name?
November 20, 2019 at 11:24AM by Yaseen_Abdullah
https://ift.tt/2Xu9EOV
How to get movies genre from tmdb API
When i send a request and i get the results back i get something like this"results": [ { "id": 423204, "video": false, "vote_count": 578, "vote_average": 5.8, "title": "Angel Has Fallen", "release_date": "2019-08-21", "original_language": "en", "original_title": "Angel Has Fallen", "genre_ids": [ 28 32 ], "backdrop_path": "/k2WyDw2NTUIWnuEs5gT7wgrCQg6.jpg", "adult": false, "overview": "After the events in the previous film, Secret Service agent Mike Banning finds himself framed for an assassination attempt on the President. Pursued by his own agency and the FBI, Banning races to clear his name and uncover the real terrorist threat which has set its sights on Air Force One.", "poster_path": "/fapXd3v9qTcNBTm39ZC4KUVQDNf.jpg", "popularity": 169.408, "media_type": "movie" },......So it's easy to get the title and overview or other values that i can access them here but for example I've genre_ids that give me a number so i can use it directly as a genre for movies I've to send another request to get the genres ids and genre And i get something like this :{ "genres": [ { "id": 28, "name": "Action" }, { "id": 12, "name": "Adventure" }, { "id": 16, "name": "Animation" }, { "id": 35, "name": "Comedy" }, { "id": 80, "name": "Crime" }, ......But i don't know how to get the genres here!? What's the idea to compare the genre_ids from the results i have to the id in this genres to get the genres name?
November 20, 2019 at 11:24AM by Yaseen_Abdullah
https://ift.tt/2Xu9EOV
reddit
How to get movies genre from tmdb API
When i send a request and i get the results back i get something like this "results": [ { "id": 423204, "video": false, "vote_count":...
New post on /r/flutterdev subreddit:
How to stream PDF from byte array?
I have .NET Core WebAPI that returns FileStreamResult of the PDF that I want the client to display.Question, how do I use that byte array by the API to display PDF on my Flutter client? I would like to avoid saving to local file, if possible.
November 20, 2019 at 10:40AM by redfournine
https://ift.tt/2r8QMsF
How to stream PDF from byte array?
I have .NET Core WebAPI that returns FileStreamResult of the PDF that I want the client to display.Question, how do I use that byte array by the API to display PDF on my Flutter client? I would like to avoid saving to local file, if possible.
November 20, 2019 at 10:40AM by redfournine
https://ift.tt/2r8QMsF
reddit
How to stream PDF from byte array?
I have .NET Core WebAPI that returns FileStreamResult of the PDF that I want the client to display. Question, how do I use that byte array by...
New post on /r/flutterdev subreddit:
Why does every flutter developer on twitter have a π blue heart in their username
I have seen many flutter developers, majority of the accounts had blue heart side to the name.Also the FlutterDev Twitter Account has a blue heart. What does this π heart imply?
November 20, 2019 at 02:08PM by maadhav2001
https://ift.tt/2DcEXVb
Why does every flutter developer on twitter have a π blue heart in their username
I have seen many flutter developers, majority of the accounts had blue heart side to the name.Also the FlutterDev Twitter Account has a blue heart. What does this π heart imply?
November 20, 2019 at 02:08PM by maadhav2001
https://ift.tt/2DcEXVb
reddit
Why does every flutter developer on twitter have a π blue heart in...
I have seen many flutter developers, majority of the accounts had blue heart side to the name. Also the FlutterDev Twitter Account has a blue...
New post on Flutter Dev Google group:
Bloc - saving events in a state event map and dispatching event by state.
hey, i am trying to create a multistep registeration. i have an inherited widget (viewManager) which holds the steps and the bloc, the viewManager has a nextStep function, which takes the current state and from the steps map it pulls the right event and returns it. final Map
Bloc - saving events in a state event map and dispatching event by state.
hey, i am trying to create a multistep registeration. i have an inherited widget (viewManager) which holds the steps and the bloc, the viewManager has a nextStep function, which takes the current state and from the steps map it pulls the right event and returns it. final Map
New post on /r/flutterdev subreddit:
Type Alias
Anyone knows how to do the following code (in typescript) in dart?β
November 20, 2019 at 04:10PM by __yv
https://ift.tt/2KF4E4K
Type Alias
Anyone knows how to do the following code (in typescript) in dart?β
type MyType = {
name: string
email: string
}
final x: MyType = {name: 'x', email: 'y'}
November 20, 2019 at 04:10PM by __yv
https://ift.tt/2KF4E4K
reddit
Type Alias
Anyone knows how to do the following code (in typescript) in dart? β `type MyType = {` `name: string` `email: string` `}` `final...
New tweet from FlutterDev:
ππ₯³Level up your skills with #WidgetoftheWeek!
Want to drag a widget onto the screen and scroll it? Use DraggableScrollableSheet to get the job done!
Get more here → https://t.co/AyN0X11V44 pic.twitter.com/vdAGMhP1Bkβ Flutter (@FlutterDev) November 20, 2019
November 20, 2019 at 08:23PM
http://twitter.com/FlutterDev/status/1197234075800440833
ππ₯³Level up your skills with #WidgetoftheWeek!
Want to drag a widget onto the screen and scroll it? Use DraggableScrollableSheet to get the job done!
Get more here → https://t.co/AyN0X11V44 pic.twitter.com/vdAGMhP1Bkβ Flutter (@FlutterDev) November 20, 2019
November 20, 2019 at 08:23PM
http://twitter.com/FlutterDev/status/1197234075800440833
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 /r/flutterdev subreddit:
DraggableScrollableSheet (Flutter Widget of the Week)
https://www.youtube.com/watch?v=Hgw819mL_78&feature=youtu.be
November 20, 2019 at 08:03PM by MarkOSullivan
https://ift.tt/2XvV3lU
DraggableScrollableSheet (Flutter Widget of the Week)
https://www.youtube.com/watch?v=Hgw819mL_78&feature=youtu.be
November 20, 2019 at 08:03PM by MarkOSullivan
https://ift.tt/2XvV3lU
YouTube
DraggableScrollableSheet (Flutter Widget of the Week)
Are you looking to drag a widget onto the screen? Does that widget have scrollable content? DraggableScrollableSheet has you covered!
Learn more about DraggableScrollableSheet β https://goo.gle/2CINYF6
Scrollable β https://goo.gle/2Kl3ye7
This video isβ¦
Learn more about DraggableScrollableSheet β https://goo.gle/2CINYF6
Scrollable β https://goo.gle/2Kl3ye7
This video isβ¦
New post on /r/flutterdev subreddit:
New audio player plugin
I've published a new Flutter plugin for audio playback, "audiofileplayer".pub and sourceWhile there's a lot of audio player packages already, I like to think I've combined the best features from them, and, more importantly, addressed some common shortcomings. This plugin:Can play from local data from the Flutter assets without copying to other folders; also can play from remote URLs, and raw byte data.Has correct memory management via a dispose() method. (some other plugins leak the audio data on every load)Please give it a whirl, and file any issues on the Github issue tracker.Edit: formatting
November 20, 2019 at 08:48PM by EternitysMansions
https://ift.tt/2pAk6aT
New audio player plugin
I've published a new Flutter plugin for audio playback, "audiofileplayer".pub and sourceWhile there's a lot of audio player packages already, I like to think I've combined the best features from them, and, more importantly, addressed some common shortcomings. This plugin:Can play from local data from the Flutter assets without copying to other folders; also can play from remote URLs, and raw byte data.Has correct memory management via a dispose() method. (some other plugins leak the audio data on every load)Please give it a whirl, and file any issues on the Github issue tracker.Edit: formatting
November 20, 2019 at 08:48PM by EternitysMansions
https://ift.tt/2pAk6aT
Dart packages
audiofileplayer | Flutter package
A Flutter plugin for audio playback.
New post on /r/flutterdev subreddit:
Sqlite good practice: should I keep a local list variable of a table so that I don't need to run query everytime I insert a new row?
I am not sure which method is a better practice. Let say I have a table containing a bunch of to-do items. When inserting new item, should I 1) Append to a local list, insert into the table, display the local list with a widget. Or 2) Insert into the table first, then query the table and map the result into a list, display this list with a widget.
November 20, 2019 at 08:43PM by rokcr
https://ift.tt/2XBAa98
Sqlite good practice: should I keep a local list variable of a table so that I don't need to run query everytime I insert a new row?
I am not sure which method is a better practice. Let say I have a table containing a bunch of to-do items. When inserting new item, should I 1) Append to a local list, insert into the table, display the local list with a widget. Or 2) Insert into the table first, then query the table and map the result into a list, display this list with a widget.
November 20, 2019 at 08:43PM by rokcr
https://ift.tt/2XBAa98
reddit
Sqlite good practice: should I keep a local list variable of a...
I am not sure which method is a better practice. Let say I have a table containing a bunch of to-do items. When inserting new item, should I 1)...
New post on /r/flutterdev subreddit:
How to fetch posts according to categories from wordpress rest API in Flutter
https://ift.tt/2KDVS79
November 20, 2019 at 09:29PM by Pramod_Bhai
https://ift.tt/2pGB4EM
How to fetch posts according to categories from wordpress rest API in Flutter
https://ift.tt/2KDVS79
November 20, 2019 at 09:29PM by Pramod_Bhai
https://ift.tt/2pGB4EM
reddit
How to get All posts from each category in Flutter using WordPress...
Posted in r/dartlang by u/Pramod_Bhai β’ 1 point and 0 comments
New post on /r/flutterdev subreddit:
How to Correctly use Flutter's Future Builder Widget
https://www.youtube.com/watch?v=LYN46233cws
November 20, 2019 at 11:07PM by Elixane
https://ift.tt/2KIBMsq
How to Correctly use Flutter's Future Builder Widget
https://www.youtube.com/watch?v=LYN46233cws
November 20, 2019 at 11:07PM by Elixane
https://ift.tt/2KIBMsq
YouTube
How to Correctly use Flutter's Future Builder Widget
One of the most powerful Widgets Flutter has is the FutureBuilder. However, it also happens to be one of the widgets that people get confused about. So in th...
New post on /r/flutterdev subreddit:
Click to expand a SliverAppBar
I have been wondering how to approach this with no luck.What I would like to try to implement is the ability to click a
November 20, 2019 at 11:58PM by banana_shavings
https://ift.tt/2QyuLy5
Click to expand a SliverAppBar
I have been wondering how to approach this with no luck.What I would like to try to implement is the ability to click a
SliverAppBar
so that when the title (or flexible space) is tapped, it expands to cover the entire screen. I would also like it to collapse back down to its previous size when the title (or flexible space) is tapped again.I have been thinking that maybe creating a custom PreferredSizeWidget
to occupy the bottom widget and changing its preferred size on tap could work, but I still have the issue of correctly determining how much size it should occupy when it is expanded.If anyone has any idea or samples of code to share, I would really appreciate it. Thanks!November 20, 2019 at 11:58PM by banana_shavings
https://ift.tt/2QyuLy5
reddit
Click to expand a SliverAppBar
I have been wondering how to approach this with no luck. What I would like to try to implement is the ability to click a `SliverAppBar` so that...
New post on /r/flutterdev subreddit:
How to import a dart file from a directory from a local file?
I am a student and very new to flutter/dart so I am incredibly sorry if I make mistakes along the way or just sound like a noob.I have an application I am currently working on and I have some classes I want to import.I want to make a simple console application, but to not copy and to always have the same updated classes how do I import the classes from a folder.I tried the following:made a folder called "WindowsApp"made another folder called "lib" (because for some reason it is the only I can run the main)made a file "main.dart"and had the following codeimport '<directory>\\foo.dart';void main(){print('test');}it says that the directory doesn't exist? In java I remember doing something similar and it worked, but I seem to not have same logic work here.The research I have done it is still foggy as to what to do because one answer is to use Source, an other provided what I wanted, but didn't show the code and the code that was shown introduced a new thing called library. Is there no simple way like java where you just put in the directory and that is it?Do i need a full blown project with a YAML and all if I wanted to use API's and such?
November 21, 2019 at 02:40AM by bigpete08
https://ift.tt/2D0Z5t7
How to import a dart file from a directory from a local file?
I am a student and very new to flutter/dart so I am incredibly sorry if I make mistakes along the way or just sound like a noob.I have an application I am currently working on and I have some classes I want to import.I want to make a simple console application, but to not copy and to always have the same updated classes how do I import the classes from a folder.I tried the following:made a folder called "WindowsApp"made another folder called "lib" (because for some reason it is the only I can run the main)made a file "main.dart"and had the following codeimport '<directory>\\foo.dart';void main(){print('test');}it says that the directory doesn't exist? In java I remember doing something similar and it worked, but I seem to not have same logic work here.The research I have done it is still foggy as to what to do because one answer is to use Source, an other provided what I wanted, but didn't show the code and the code that was shown introduced a new thing called library. Is there no simple way like java where you just put in the directory and that is it?Do i need a full blown project with a YAML and all if I wanted to use API's and such?
November 21, 2019 at 02:40AM by bigpete08
https://ift.tt/2D0Z5t7
reddit
How to import a dart file from a directory from a local file?
A subreddit for Google's crossplatform UI toolkit.
New post on Flutter Dev Google group:
Prevent Flutter to build web-only file
Hi everyone ! I'm trying to develop an app for both Web and Mobile. Web is working fine but when i build for mobile i get those errors... Compiler message: lib/web_injection.dart:1:8: Error: Not found: 'dart:html' import 'dart:html'; lib/web_injection.dart:6:28: Error: 'Storage' isn't a
November 21, 2019 at 08:55AM by ClΓ©ment K
https://ift.tt/2O8NCxO
Prevent Flutter to build web-only file
Hi everyone ! I'm trying to develop an app for both Web and Mobile. Web is working fine but when i build for mobile i get those errors... Compiler message: lib/web_injection.dart:1:8: Error: Not found: 'dart:html' import 'dart:html'; lib/web_injection.dart:6:28: Error: 'Storage' isn't a
November 21, 2019 at 08:55AM by ClΓ©ment K
https://ift.tt/2O8NCxO
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:
How to Write a Flutter Web Plugin
https://ift.tt/332yjv7
November 21, 2019 at 08:49AM by Purple_Pizzazz
https://ift.tt/3484RFk
How to Write a Flutter Web Plugin
https://ift.tt/332yjv7
November 21, 2019 at 08:49AM by Purple_Pizzazz
https://ift.tt/3484RFk
Medium
How to Write a Flutter Web Plugin
Introduction
New post on /r/flutterdev subreddit:
Rapid Flutter Questions with Robert Felker
https://youtu.be/_a5HcBI5f-4
November 21, 2019 at 10:13AM by EngineerScientist
https://ift.tt/2XzXWCr
Rapid Flutter Questions with Robert Felker
https://youtu.be/_a5HcBI5f-4
November 21, 2019 at 10:13AM by EngineerScientist
https://ift.tt/2XzXWCr
YouTube
Rapid Flutter Questions with Robert Felker
We asked Robert Felker a series of Flutter questions for 2 minutes!
Without time to think, without any preparation. Did he do well?
πFlutter Europe - The biggest Flutter Conference in Europe!
πJanuary 23rd-24th, 2020 Warsaw, Poland
πLearn more at https:β¦
Without time to think, without any preparation. Did he do well?
πFlutter Europe - The biggest Flutter Conference in Europe!
πJanuary 23rd-24th, 2020 Warsaw, Poland
πLearn more at https:β¦
New post on /r/flutterdev subreddit:
DropdownButtonFormField not showing inside Row
Hi, new to Flutter here and im adding a DropdownFormField and TextFormField side by side inside a Row. This is how it looks like
November 21, 2019 at 10:50AM by chitgoks
https://ift.tt/35jMYn4
DropdownButtonFormField not showing inside Row
Hi, new to Flutter here and im adding a DropdownFormField and TextFormField side by side inside a Row. This is how it looks like
Widget build(BuildContext context) { return Form( key: _formKey, child: SingleChildScrollView( child: Column( children: <Widget>[ Row( mainAxisAlignment: MainAxisAlignment.start, children: <Widget>[ DropdownButton( hint: new Text('Select Gender'), items: _salutations, value: client.salutation, ), SizedBox(width: 20), new Expanded( child: TextFormField( decoration: InputDecoration(labelText: 'Name'), validator: (value) { return value.isEmpty ? 'Empty name.' : ''; }, ), ), ] ) ], ) ), ); }That code currently shows because it is DropdownButton. But if I change it to DropdownButtonFormField it won't show, as long as it is in the Row(). Why is this?I wish to use DropdownButtonFormField so that the height of the Dropdown will be the same as the TextFormField since the current code shows the dropdown with a smaller height.
November 21, 2019 at 10:50AM by chitgoks
https://ift.tt/35jMYn4
reddit
DropdownButtonFormField not showing inside Row
A subreddit for Google's crossplatform UI toolkit.
New post on /r/flutterdev subreddit:
has anyone here tried wrapping flutter web inside electron application ? if yes , i would like to know how
i was wondering until flutter desktop stabilizes , we can wrap flutter web application inside electron application
November 21, 2019 at 10:45AM by dilawar_uchiha
https://ift.tt/2O98WmQ
has anyone here tried wrapping flutter web inside electron application ? if yes , i would like to know how
i was wondering until flutter desktop stabilizes , we can wrap flutter web application inside electron application
November 21, 2019 at 10:45AM by dilawar_uchiha
https://ift.tt/2O98WmQ
New post on /r/flutterdev subreddit:
Reusable form validation with flrx_validator
Hi all, we have created a Validator library which allows you to easily validate your forms. Both the validator and the rules can be easily extended.It's as simple as doing this
November 21, 2019 at 10:30AM by ibrahim_mubarak
https://ift.tt/2O8fcvp
Reusable form validation with flrx_validator
Hi all, we have created a Validator library which allows you to easily validate your forms. Both the validator and the rules can be easily extended.It's as simple as doing this
TextFormField( validator: Validator<String>( rules: [RequiredRule(), EmailRule()] ) );Some of the Built In RulesAnyRuleEachRuleEmailRuleInRuleMaxLengthRuleMinLengthRuleNotInRuleRegexRuleRequiredRuleFlrx ValidatorDo check it out and let us know what you think about it.
November 21, 2019 at 10:30AM by ibrahim_mubarak
https://ift.tt/2O8fcvp
Dart packages
flrx_validator | Dart Package
A powerful, extensible validator package to get validation messages based on a list of rules.
New post on Flutter Dev Google group:
sqflite offline storage data
How to store online data to offline data in flutter application ?where located sqflite .db database n flutter project structure ? i have not view offline data through interface . how to view offline sqflite data in flutter appplication?plz reply /
November 21, 2019 at 12:59PM by Munish Rathore
https://ift.tt/34a45rc
sqflite offline storage data
How to store online data to offline data in flutter application ?where located sqflite .db database n flutter project structure ? i have not view offline data through interface . how to view offline sqflite data in flutter appplication?plz reply /
November 21, 2019 at 12:59PM by Munish Rathore
https://ift.tt/34a45rc
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:
Unit Testing: Bloc Library & Codemagic by Felix Angelov
https://ift.tt/2O6Ik5X
November 21, 2019 at 01:11PM by Gigatronbot
https://ift.tt/336buql
Unit Testing: Bloc Library & Codemagic by Felix Angelov
https://ift.tt/2O6Ik5X
November 21, 2019 at 01:11PM by Gigatronbot
https://ift.tt/336buql