Change Text using button press Flutter and Dart | Column | RaisedButton Widgets- Ep. 5

preview_player
Показать описание
This is the fifth video of my Flutter and Dart tutorial series:

HelloWold App in Flutter:

Different between StatelessWidget and StatefulWidget:

Beautify our HelloWorld App:

In this video I have discused about:

create new flutter project.
add scafold widget.
add appbar.
add leading icon and title to the appbar.
Add Center widget to center components in cross axis.
Add a Column Widget.
add text widget and raisedbutton.
Use RaisedButton.
Add onPressed property to button.
Change the state using setState
Increment variable value when button press.
Add styles to text widget(fontsize, color)
Style button(padding, color, label, textColor, elevation, splashColor).

Flutter SDK tutorials Playlist:

Get the source code:
Рекомендации по теме
Комментарии
Автор

Great!! could you add the code in the description it can help to learn better!!

gonzaloalonzo
Автор

I get an Error states that: type 'MyApp' is not a subtype of type 'StatelessWidget'
Any Idea what migth be wrong?

omzer