Why Flutter is Easier and better than other programming languages.
The time when i was starting flutter it was completely new language which seemed unknown to the world.Languages like React Native ,Kotlin,Swift and Java ruled the app development world and it seemed that it wont succeed.
Well i knew how to write apps in both Kotlin and Java.Flutter seemed extra work and i did not really want to know about it at all until i gave it a try.
At first flutter seemed hard but i was able to get hold a course from Udemy not actually buying but i got it and gave it a go.
The things i loved about flutter:
- It is easy to build a easy ui with it.
Sometimes creating a ui in a XML file when using java or kotlin can be very frustrating because you are very limited.
Also before you get the perfect color scheme it can be very stressing.
2.Widgets
Flutter widgets make the experience better with no stress.The are like Custom Layouts in an XML flutter but now you can use it in many places and customize it easily.
3.Short Codes
In Java and Kotlin you write massive codes with alots with Override method and functions which is not clean but with flutter you can easily arrange your work and even more if you are using conditions its shortened e.g:
Normal Kotlin
var a : String = “2”
if(a == 2){
printIn(“Correct”)
}else{
printIn(“Wrong”)
}
In Dart which is the Flutter Language
String a = “2”;
a == “2” ? print (“Correct”) : (“Wrong);
As you can see above dart is very short .
4.Screen Size
Flutter adapts easily in many screen sizes which kotlin or Java cant to do.
E.g Facebook app.
For me i if you have seen how different the facebook app looks in a 6 inch phone and Tablet its very different.
When facebook is in smaller phones meaning 7inch giong down its very beatiful but in tablets not quite beatiful.
Flutter ca easily fix this problems.
Thats for now .