New post on /r/flutterdev subreddit:
Learn about the types of Arguments in Dart.
https://twitter.com/erluxman/status/1256143562187644928
May 01, 2020 at 10:51AM by erluxman
https://ift.tt/2WhaRIV
Learn about the types of Arguments in Dart.
https://twitter.com/erluxman/status/1256143562187644928
May 01, 2020 at 10:51AM by erluxman
https://ift.tt/2WhaRIV
Twitter
Laxman
Dart Arguments (function & Constructors) Normal > ✅✅Short & ❌Flexible Named > ✅Short & ✅✅Flexible Positional > ✅✅Short & ✅Flexible try on dartpad https://t.co/rHlHrDSvmN #day27 #100DaysofFlutter #flutterdev
New post on /r/flutterdev subreddit:
Amazing Flutter tips from my #100daysOfFlutter Challange, now open-sourced. Let's create a great repo of tips.
https://ift.tt/2Sq9BSY
May 02, 2020 at 11:58AM by erluxman
https://ift.tt/2WxwRQf
Amazing Flutter tips from my #100daysOfFlutter Challange, now open-sourced. Let's create a great repo of tips.
https://ift.tt/2Sq9BSY
May 02, 2020 at 11:58AM by erluxman
https://ift.tt/2WxwRQf
GitHub
GitHub - erluxman/awesomefluttertips: ❤️ Awesome Flutter Tips and Tricks ❤️
❤️ Awesome Flutter Tips and Tricks ❤️. Contribute to erluxman/awesomefluttertips development by creating an account on GitHub.
New post on /r/flutterdev subreddit:
Basic Animation is super easy: Doing animation in Flutter with AnimatedContainer.
https://twitter.com/erluxman/status/1256467420123930624
May 02, 2020 at 11:47AM by erluxman
https://ift.tt/2yYEF5o
Basic Animation is super easy: Doing animation in Flutter with AnimatedContainer.
https://twitter.com/erluxman/status/1256467420123930624
May 02, 2020 at 11:47AM by erluxman
https://ift.tt/2yYEF5o
Twitter
Laxman
AnimatedContainer() is one of the most common & powerful ImplicitlyAnimatedWidgets (Easy to animate) Just provide the changed value of container then AnimatedContainer will do the rest Play with AnimatedContainer https://t.co/UaIaGQWhs0) #day28 #100DaysofFlutter…
New post on /r/flutterdev subreddit:
Building Responsive UI is easy with Wrap Widget
https://twitter.com/erluxman/status/1256871429469020160
May 03, 2020 at 11:02AM by erluxman
https://ift.tt/2WpTdCS
Building Responsive UI is easy with Wrap Widget
https://twitter.com/erluxman/status/1256871429469020160
May 03, 2020 at 11:02AM by erluxman
https://ift.tt/2WpTdCS
Twitter
Laxman
Use Wrap like Column/Row to build responsive UI. It wraps it's children to next row or column, just give it ( direction: Axis.vertical/Axis.horizontal) try in codepen https://t.co/lEStNPPkWi) #day29 #100DaysofFlutter #flutterdev https://t.co/ER2ROy0qCE
New post on /r/flutterdev subreddit:
Implementing blur was never this easy on mobile. Just use Backdrop Widget on Flutter like this.
https://twitter.com/erluxman/status/1257135324582551552
May 04, 2020 at 04:34AM by erluxman
https://ift.tt/2VXGkRI
Implementing blur was never this easy on mobile. Just use Backdrop Widget on Flutter like this.
https://twitter.com/erluxman/status/1257135324582551552
May 04, 2020 at 04:34AM by erluxman
https://ift.tt/2VXGkRI
Twitter
Laxman
To blur a widget, put it below a BackdropFilter widget in a stack. 1. Adjust Gaussian blur level with sigmaX, and sigmaY. 2. Must provide a child to Backdrop it needs a layer to act as a blur. play in codepen https://t.co/3bGTp4PZgP #day30 #100DaysofFlutter…
New post on /r/flutterdev subreddit:
Changing dynamic Theme is super easy (Tips 31 of 100). Just set the themeData to Material/Cupertino App.
https://twitter.com/erluxman/status/1257518010966908928
May 05, 2020 at 05:52AM by erluxman
https://ift.tt/2zZVrl3
Changing dynamic Theme is super easy (Tips 31 of 100). Just set the themeData to Material/Cupertino App.
https://twitter.com/erluxman/status/1257518010966908928
May 05, 2020 at 05:52AM by erluxman
https://ift.tt/2zZVrl3
Twitter
Laxman
Dynamic Theme : Simply create a Stateful Widget which has a variable for ThemeData. Set the value of themeData to Material/Cupertino App your app will be able to change it's theme dynamically 🚀 . try on dartpad https://t.co/sxfu6z9TlI #day31 #100DaysofFlutter…
New post on /r/flutterdev subreddit:
Changing the theme dynamically: The Better Way.
https://twitter.com/erluxman/status/1257885359427518466
May 06, 2020 at 06:13AM by erluxman
https://ift.tt/2zgjhsc
Changing the theme dynamically: The Better Way.
https://twitter.com/erluxman/status/1257885359427518466
May 06, 2020 at 06:13AM by erluxman
https://ift.tt/2zgjhsc
Twitter
Laxman
Dynamic Theme ✅ Improved Version✅ Create StreamController for theme Use StreamBuilder & set the theme to Material/Cupertino App & your app will be able to change its theme dynamically try on dartpad (clear chache) https://t.co/sxfu6z9TlI #day31 #100DaysofFlutter…
New post on /r/flutterdev subreddit:
I released a Flutter Library for Toast like Badge Message.
A flutter package (library) called `toast_badge` is live now.It can show info badge on any widget and can be called like Toast without context parameter from anywhere in the app.To use it, wrap your widget inside
May 08, 2020 at 11:04AM by erluxman
https://ift.tt/2zkAvVs
I released a Flutter Library for Toast like Badge Message.
A flutter package (library) called `toast_badge` is live now.It can show info badge on any widget and can be called like Toast without context parameter from anywhere in the app.To use it, wrap your widget inside
ToastBadge
a. Just Wrap any Widget with ToastBadge() like thischild: ToastBadge(child: SettingPage(),),
b. You can also use the extension method .enableBadge()
on any Widget:child: SettingPage().enableBadge(),
Finally, call ToastBadge.show()
from anywhere in the app.ToastBadge.show("Hello Toast");
This was released as my day 33 of 100 Days of Flutter.You can find daily post on this thread :https://twitter.com/erluxman/status/1246608678486065152See the library here :https://github.com/erluxman/toast_badge#day33 #100DaysofFlutter #flutterdevMay 08, 2020 at 11:04AM by erluxman
https://ift.tt/2zkAvVs
Twitter
Laxman
[Thread] From today I will be doing a #100DaysofFlutter series where I will be posting Flutter tips and tricks daily. erluxman.com/00002-100-days…
New post on /r/flutterdev subreddit:
See how to open Layout Inspector, Timeline, Memory, App Performance, Debugger, Logging & Network monitor in Dart dev tool.
https://twitter.com/erluxman/status/1259315885996638211
May 10, 2020 at 05:12AM by erluxman
https://ift.tt/35JtGJi
See how to open Layout Inspector, Timeline, Memory, App Performance, Debugger, Logging & Network monitor in Dart dev tool.
https://twitter.com/erluxman/status/1259315885996638211
May 10, 2020 at 05:12AM by erluxman
https://ift.tt/35JtGJi
Twitter
Laxman
Very Important 🚨 Dart dev tool🚨 Dev tool contains : Layout Inspector, Timeline, Memory, Performance, Debugger, Logging & Network monitor. AS: Click dart icon on Run tab when app is running. VSCode: "Open Dev Tools" in Command Pallet. #day35 #100DaysofFlutter…
New post on /r/flutterdev subreddit:
Tip #35 Implicit Interface of class
Did you know you can extend and implement a class in Dart?
No need to create `IInterface` to mock a `class`.
No need to extract `IInterface` as Contract / Protocal
Every class implicitly defines an interface containing all the instance variables, methods getter and setters.
1. extends -> must override abstract methods, other methods and variables override optional. i.e can inherit parent's behavior.
2. implements -> Every methdos and variables must be overriden. i.e. can't inherit parent behavior
May 12, 2020 at 11:16AM by erluxman
https://ift.tt/2xZxGsM
Tip #35 Implicit Interface of class
Did you know you can extend and implement a class in Dart?
No need to create `IInterface` to mock a `class`.
No need to extract `IInterface` as Contract / Protocal
Every class implicitly defines an interface containing all the instance variables, methods getter and setters.
1. extends -> must override abstract methods, other methods and variables override optional. i.e can inherit parent's behavior.
2. implements -> Every methdos and variables must be overriden. i.e. can't inherit parent behavior
Dart has implicit Interface of every class class A { //Optional @override for 'extends' && must for 'implements'. var name; //Optional @override for 'extends' && must for 'implements'. void normalMethod() => print("B -> Normal Method"); } abstract class B{ //must @override in both 'extends' and 'implements'. void abstractMethod(); } //Non abstract class C extends A {} // ✅ class C implements A {} //❌ Must override name & normalMethod() class C extends B {} //❌ Needs to override `abstractMethod()` class C implements B {} //❌ Needs to override `abstractMethod()` //Abstract Child abstract class C extends A {} // ✅ abstract class C implements A {} // ✅ abstract class C implements B {} // ✅ abstract class C extends B {} // ✅See Daily posts on this threadContribute and give feedback
May 12, 2020 at 11:16AM by erluxman
https://ift.tt/2xZxGsM
Twitter
Laxman
We can both extend and implement a class in Dart extends: ➤ Must override abstract members, other members override optional ➤Inherits parent's behavior✅ implements: ➤ Every member must be overridden ➤ Doesn't Inherit parent's behavior❌ #day36 #100DaysofFlutter…