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

<b>Amazing New Features Of Flutter 2.0</b>
Google’s Flutter introduced a recent launch Flutter 2.0 that incorporates some amazing new features. It is one of the most awaited stable release of the platform after the release of Flutter 1.0 almost two years ago. Flutter 2.0 will now completely support for website and desktop applications, so that programmers can apply a common codebase for iOS, Android, Windows, macOS and Linux OS. The first version of UI device package focused on app builders when launched in 2017. The developers want that this compatibility, among unique advanced features, will drive more software engineers to the platform, as many seeking open-source programs are most adequately supported for mobile application development.Using Google’s own Dart programming language, <a href="https://solaceinfotech.com/blog/what-is-flutter-about-the-joy-of-flutter/">Flutter</a> is designed to help developers to build apps that experience native to every platform they run on whilst sharing as much of code as feasible to avoid repetitive efforts. Here we will see new features in Flutter 2.0 that will be helpful for Foldable and Dual-Display Devices. Flutter 2.0 New Features-1. Flutter For Desktop-You can extend flutter to support <a href="https://solaceinfotech.com/blog/best-frameworks-for-desktop-application-development/">desktop applications</a>. Flutter allows developers to give a native-like app experience on each platform that it resides. Native-like experience includes mouse dragging with accuracy, built-in context menu, text selection pivot points and so on. Now, programmers can stop keyboard events even after their initiation. Developers can also expertise in grabbing handles and easily move items in the ReorderableListView widget. Also, there is an updated scrollbar widget that provides interactiveness in desktop applications using thumb.Desktop flutter application will also show mouse hovers in page up – down tracks, and scroll bar. With this, developers can also use new ScrollabrTheme class to customize app according to requirement. Flutter release also allows seamless resizing for Windows and macOS.  If you are thinking to deploy app on OS stores, you can go through the document provided by Flutter community. Developers can get detailed information about beta channels if they want to try the beta for flutter desktop. The stable channel doesn’t provide quick bug fixes as supported in the beta version. Flutter community moves ahead in the production-quality release so you can expect support for integration with native top-level menus, native-like text editing and accessibility support.2. Web Support-Flutter’s production quality web support is one of the largest declaration in Flutter 2.0. Earlier the web’s foundation was document-centric. However the web platform has developed to provide rich platform APIs that allow extremely sophisticated apps using hardware-accelerated 2D-3D graphics, paint APIs and flexible layout.Flutter’s support for the web builds up these innovations, providing an application centered framework that reaps the benefits of all that the advanced web should give. This release focuses on 3 app scenarios: <a href="https://solaceinfotech.com/blog/progressive-web-apps-the-next-big-thing/">Progressive web apps</a>, single page apps, bringing current flutter mobile apps to the web. Mainly google focused on performance and improvements to their rendering fidelity. Google added new CanvasKit based rendered made with WebAssembly. They also added features that are specific to web such as control on address bar URLs,text autofill, PWA manifests and routing. They also included a Link Widget to ensure that the mobile app running in the browser feels like web app.3. Add To App-Developers can leverage the benefits of Flutter, by adding it to their current Android and <a href="https://solaceinfotech.com/blog/why-flutter-is-a-golden-technology-for-ios-app-development/">iOS apps</a>…
New post on /r/flutterdev subreddit:

Learning Finance made *EASY* and *FREE*, for REAL!
*LYNANCE*Learning Finance made *EASY* and *FREE*, for REAL!Through LYNANCE you can:-Learn everything about Finance.-Stay updated with financial news and events going around the globe.-Keep upgrading your financial knowledge with the help our NEW COURSES launching EVERY MONTH.What makes it cool?IT'S FREE!Download our app from play store NOW!https://play.google.com/store/apps/details?id=com.gjam.lynance

March 18, 2021 at 07:44AM by japangorr
https://ift.tt/3ltayqP
New post on /r/flutterdev subreddit:

JS library in flutter web
Just a question from a beginner. Can we use JS library such as Plotly.js library inside the flutter web by calling it in the html script tag?

March 18, 2021 at 08:06AM by sangkaraka
https://ift.tt/3rY4ucj
New post on Flutter Dev Google group:

How about implement Simple Peer Webrtc?
How about implement Simple Peer Webrtc?

March 18, 2021 at 11:38AM by Timmy Timmy
https://ift.tt/3lrYlTe
New post on /r/flutterdev subreddit:

Have you used flutter share package?
how is your experience with flutter share package, can you share some examples?

March 18, 2021 at 11:42AM by Dhanraj_Flutterdev
https://ift.tt/3bXBgEG
New post on Flutter Dev Google group:

sniffing http
Hi guys, I need to create a prototype of app but I have some doubts. The app must sniff the network traffic into device and log it, the app must work in background. Is it possible to sniff the http traffic from other app? For example the http url digited on browser? I have doubt of privacy.

March 18, 2021 at 02:07PM by Luca Bonaldo
https://ift.tt/38RbfoG
New post on /r/flutterdev subreddit:

What are the best use cases for Flutter web?
I read a lot of comments about Flutter web in reddit. It's clear that Flutter web is not a web framework nor a web library.If it's not a web framework, then what is it?Why someone would hire Flutter web instead of react native for web or react web or view to do the job? I chose the word 'hier' on purpose, because we all hiring tools to get the job done and there is a price to pay even if it is not apparent in the first place

March 18, 2021 at 01:44PM by Intelligent_Moose770
https://ift.tt/2OCR5bn
New post on /r/flutterdev subreddit:

I got DioError [DioErrorType.RESPONSE]: Http status error [400] when send form data using dio and post method to request
I got when I request this data, I'm using Dio package to send request, I tried to replace the content type with application/json and I checked my header and my authorization, and also I got the same error.and this is my data that I passed it to the post method:FormData formData = FormData.fromMap(
{
'data': {
"text": questionController.text,
"helping_text": hintController.text,
"score": int.parse(scoreController.text),
"status": 1,
"question_type": 1,
"options": [
{
"text": answerController1.text,
"is_correct": answerCheck1,
"status": 1
},
{
"text": answerController2.text,
"is_correct": answerCheck2,
"status": 1
},
{
"text": answerController3.text,
"is_correct": answerCheck3,
"status": 1
}
]
},
// 'question_image': {
// 'question_image': questionImage,
// 'type': 'image/',
// }
},
);
await addQuestion.addApiQuestion(
// file,
formData,
widget.quizId,
// context,
);
}and this is my request code:class AddQuestion {
addApiQuestion(
formData,
quizId,
) async {
final String url = apiServer + 'quizzes/exam/$quizId/questions/add/';
try {
var response = await Dio().post(
url,
data: formData,
options: Options(
headers: {
'accept': '*/*',
'Authorization': 'Bearer ${AppHelper().getToken().access}',
'contentType': 'multipart/form-data',
},
),
);
/\We added 302 here as it indicates a redirection response from GET request*
but here it comes from the POST request, so Dio raises an Exception,
so to workaround the problem we considre it as success,
any way it's not the best way to handle this, but it's a workaround\/*
if (response.statusCode == 200 ||
response.statusCode == 201 ||
response.statusCode == 302) {
var message = json.decode(response.statusMessage);
printClassNameWithNumber(runtimeType, lineNumber,
'response of add question message ${response.statusCode.toString()}');
printClassNameWithNumber(runtimeType, lineNumber, 'body $formData');
printClassNameWithNumber(runtimeType, lineNumber, 'body $message');
return message;
} else {
// toastMessage('server error', "", context);
print('Response error code = ${response.statusCode}');
return null;
}
} catch (e) {
print('erro $e');
return null;
}
}
}

March 18, 2021 at 01:21PM by Memo_Adel
https://ift.tt/3txXuDf
New post on /r/flutterdev subreddit:

Wrote a post on Creating ListView with data from Firestore!
https://ift.tt/2NsDPVU

March 18, 2021 at 03:13PM by mukhtharcm
https://ift.tt/3eT5CKo
New post on /r/flutterdev subreddit:

Reset password
Hey everybody I hope you all are having a great day. You guys got any good tutorials on how I can create a reset password function? I am using firestore in my firebase does that make a difference than using the realtime database?

March 18, 2021 at 03:45PM by TheQuack69
https://ift.tt/3eS9BqF