Bharath ๐Ÿ’™๐Ÿ“ท๐Ÿ“˜ (@bharath_dev_t) header
Bharath ๐Ÿ’™๐Ÿ“ท๐Ÿ“˜ (@bharath_dev_t) profile picture

Flutter Developer | Clean Coder | Article Writer | Photographer

Joined January 2022
Photo by Bharath ๐Ÿ’™๐Ÿ“ท๐Ÿ“˜ (@bharath_dev_t)Photo by Bharath ๐Ÿ’™๐Ÿ“ท๐Ÿ“˜ (@bharath_dev_t)Photo by Bharath ๐Ÿ’™๐Ÿ“ท๐Ÿ“˜ (@bharath_dev_t)Photo by Bharath ๐Ÿ’™๐Ÿ“ท๐Ÿ“˜ (@bharath_dev_t)Photo by Bharath ๐Ÿ’™๐Ÿ“ท๐Ÿ“˜ (@bharath_dev_t)Photo by Bharath ๐Ÿ’™๐Ÿ“ท๐Ÿ“˜ (@bharath_dev_t)Photo by Bharath ๐Ÿ’™๐Ÿ“ท๐Ÿ“˜ (@bharath_dev_t)Photo by Bharath ๐Ÿ’™๐Ÿ“ท๐Ÿ“˜ (@bharath_dev_t)
#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
2
1
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 ๐Ÿ‘‡๐Ÿงต
4
16
2
112
15,208
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
4
27
2,453
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
15
351
3
1,411
170,357
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 ๐Ÿ‘‡
3
2
1
23
1,981
Whoa, this is lit. ๐Ÿ”ฅ
Holy shit this is awesome. You can bring 360ยฐ worlds to life with a sketch and Stable Diffusion.
2
60
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.
1
3
10
Feeling very fortunate to interact with the people I admired while learning #flutter. Special thanks @mhadaily, @imthepk , @ayushshekhar17 for making my #career. Interacted with multiple experts and speakers especially #flutter and #dart GDEs.
1
2
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
3
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
4
I just published in @BttrProgramming Flutter Unit Testingโ€Šโ€”โ€ŠThe Beginnerโ€™s Guide Check it out!๐Ÿ’™ #flutter #flutterdev #dart #unittesting betterprogramming.pub/flutteโ€ฆ
1
3
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. ๐Ÿงต
15
92
13
439
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
1
1
I'm using #flutter_bloc - State Management #freezed - Code Generating Data Classes & Sealed Unions #dartz - Functional Error Handling & Immutable DS #get_it - Service Location #mockito - Mocking for Testing #dio - HTTP client (Interceptor) #hive - Local DB
1
1
3
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.
1
2
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.
1
1
1
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๐Ÿ’™
#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
1
1
3