Flutter is a good front-end framework
It is kind of like Reactjs. I mean, the widget == component
. And if you want to refresh your page, you need to use setState(() {})
didChangeDependencies == componentDidMount
As for the programming language it based: dart. I think it as a mix of CPP, java, python, javascript, typescript, CSS.
cpp: The constructor has to have the same name as the class name it belongs to. You can use
void
as a return value.java: You can override an existing function inside a class; Every widget or component is a class.
python: how you import a package; you use
super
to refer to the parent class;async
andawait
;_
indicates private function.javascript:
then
,var
,forEach
,map
,where(filter)
,contains
,()=>{}
typescript: how you specify types in typescript, how you do it with dart.
css: actually all style properties are related to CSS styling.