Pinned Tweet
#flutter #pub_dev #OpenSource
Working on a pub package provides YouTube video player skin to the existing video players. Includes SWIPE, DRAG, PINCH-ZOOM, DOUBLE-TAP functionalities.
bit.ly/portfolio-bharath-tw
Bharath ๐๐ท๐ retweeted
fpdart v1.0.0 is out now ๐
This is the biggest release of fpdart ever ๐
โ
#dart 3
โ
New types
โ
Improved performance
โ
Simplified API
โ
New getting started guide
Here is an overview of what's new ๐๐งต
Bharath ๐๐ท๐ retweeted
Yeay! 1.0 of FPDart with Functional Programming goodness embracing #Dart 3 is released! I put FPDart into nearly every program I write! pub.dev/packages/fpdart
Bharath ๐๐ท๐ retweeted
๐ช๐ต๐ฎ๐ ๐ถ๐ ๐๐ฟ๐ผ๐๐-๐ข๐ฟ๐ถ๐ด๐ถ๐ป ๐ฅ๐ฒ๐๐ผ๐๐ฟ๐ฐ๐ฒ ๐ฆ๐ต๐ฎ๐ฟ๐ถ๐ป๐ด (๐๐ข๐ฅ๐ฆ)?
Browsers use CORS to prevent websites from requesting data from different URLs. A request from a browser includes an origin header in the request message. The browser allows it if it gets to the server of the exact origin; if not, the browser blocks it.
We can deal with CORS issues on the backend. Cross-origin requests require that the values for origin and ๐๐ฐ๐ฐ๐ฒ๐๐-๐๐ผ๐ป๐๐ฟ๐ผ๐น-๐๐น๐น๐ผ๐-๐ข๐ฟ๐ถ๐ด๐ถ๐ป in the response headers match and the server sets it. When you add an origin to the backend code, the CORS middleware only permits this URL to communicate with other origins and utilize it for cross-origin resource requests.
There are two ways to fix CORS issues:
๐ญ. ๐๐ผ๐ป๐ณ๐ถ๐ด๐๐ฟ๐ฒ ๐๐ต๐ฒ ๐๐ฎ๐ฐ๐ธ๐ฒ๐ป๐ฑ ๐๐ผ ๐๐น๐น๐ผ๐ ๐๐ข๐ฅ๐ฆ
The server can let all domains withย ๐๐ฐ๐ฐ๐ฒ๐๐-๐๐ผ๐ป๐๐ฟ๐ผ๐น-๐๐น๐น๐ผ๐-๐ข๐ฟ๐ถ๐ด๐ถ๐ป: *. This turns off the same-origin policy, which is not recommended. Another option would be only to allow a particular domain, which is a better option, e.g., ๐๐ฐ๐ฐ๐ฒ๐๐-๐๐ผ๐ป๐๐ฟ๐ผ๐น-๐๐น๐น๐ผ๐-๐ข๐ฟ๐ถ๐ด๐ถ๐ป: ๐ต๐๐๐ฝ๐://๐๐ผ๐บ๐ฒ๐ฑ๐ผ๐บ๐ฎ๐ถ๐ป.๐ฐ๐ผ๐บ.
๐ฎ. ๐จ๐๐ฒ ๐ฎ ๐ฃ๐ฟ๐ผ๐
๐ ๐ฆ๐ฒ๐ฟ๐๐ฒ๐ฟ
We can use a proxy server to call external API. It acts as a middleware between the client and the server. If the server doesn't return proper headers defined by CORS, we can add them to the proxy.
_______
If you like my posts, please follow me, @milan_milanovic, and hit the ๐ on my profile to get a notification for all my new posts.
Learn something new every day ๐!
#softwareengineering #programming #api #apidesign #techworldwithmilan
Bharath ๐๐ท๐ retweeted
fpdart v1 will be officially released next week ๐
I am writing a post on the history of fpdart and how to start using fpdart v1 from 0 ๐จโ๐ป
Leave below any suggestion or request for what you would like for me to cover in the post ๐
Attended #flutterconfindia ๐. Feeling very privilaged to get to know lots of people across different states of India, having same kind of mind set, united for #wisdom and #networking. The event delivered more than what I expected.
Started ๐คฉ๐คฉ๐คฉ #flutterconf #flutterconfindia ๐
Participated on a wonderful event today #devfest2022. Met a lots of remarkable people and interact with them about their experience and what are they working on. Also met lots of enthusiastic students who came to gain experience.
#DevFestChennai #GDGIndiaDevFest22
Thanks, Software Testing Notes for your positive review on my article "Flutter Unit Testing โ The Beginnerโs Guide". ๐
Check it out: betterprogramming.pub/flutteโฆ
#flutter #fluttertesting #unittesting #fluttercommunity #automationtesting
Hey! ๐
The 51st issue on #SoftwareTesting is out!
๐ softwaretestingnotes.substacโฆ
Featuring @qahiccupps, @louise_j_gibbs, @CAkehurstRyan, @zhiminzhan, @MickeySisic, @bharath_dev_t, @testingpirate, @DevTesterBlog, @dennmart, @itstrueintheory, @askRodney and more ! ๐
#QA #testing
I just published in @BttrProgramming Flutter Unit TestingโโโThe Beginnerโs Guide
Check it out!๐
#flutter #flutterdev #dart #unittesting
betterprogramming.pub/flutteโฆ
Bharath ๐๐ท๐ retweeted
What's the best project structure for medium/large Flutter apps?
Most likely, there's no "right" answer that works for all projects.
So let's explore two popular approaches known as "feature-first" and "layer-first" and learn about their differences.
Thread. ๐งต
Quick #flutter discussion:
Just curious to know about the PACKAGES/LIBRARY you guys are using for EVERY FLUTTER APPLICATION.
bit.ly/portfolio-bharath-tw
#fluttercommunity #flutterdeveloper #flutterjobs
Quick #dart tip๐
We know that instance field initializers cannot access the current instance's (or parent's) field or method unless they are of static type.
This is because a new object is created only after completing all initialization.
However, we can access such fields and methods using the "late" keyword. Dart won't initialize the fields with the "late" keyword at the time of object creation.
Rather it initializes only when it is accessed for the first time. At the time of accessing the field, a new object is already created. So we can access its fields and methods.
bit.ly/portfolio-bharath-tw
#flutter #snippet #fluttercommunity #flutterjobs๐
Exciting ๐
I'm super excited that the next stable release of #dartlang will have a language feature suggested by an external user: github.com/dart-lang/languagโฆ It was a brilliant suggestion and I think users are going to love it.
#flutter #pub_dev #OpenSource
Working on a pub package that provides YouTube video player skin to the existing flutter video players like video_player, chewie, better_player.
Pinch-to-zoom on development.
Blue Box - Screen Size
Red Box - Video Size
bit.ly/portfolio-bharath-tw
Wow๐it looks great๐ฅณ
Spent few hours working on this #Messenger App UI and I'm happy to share it with you.
Source code: github.com/martinoyovo/messeโฆ
Don't forget to star the repo & follow me for more content!
Peace in @Ukraine!
#flutter @FlutterDev @r_FlutterDev @FlutterLDN @FlutterTg @nlycskn



























