Flutter Tutorial for Beginners #5 - Scaffold & AppBar Widgets

Flutter Tutorial for Beginners #5 - Scaffold & AppBar Widgets

Net Ninja

4 года назад

712,895 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Mariana Agra
Mariana Agra - 30.09.2023 11:19

Amazing tutorials!!!

Ответить
justcode
justcode - 28.08.2023 22:46

For anyones having issue with floatingactionbutton, just add onpressed property and set it to null like this:
floatingActionButton: const FloatingActionButton(
child: Text("Click"),
onPressed: null,
),

Ответить
Mayank Dubey
Mayank Dubey - 21.08.2023 12:53

Hey there,
This playlist is no doubt a good way to learn about flutter, but I don't know why the code in dart is different from what you are writing, is this because of any update?

Please suggest me a way on how to get use to the changed code and learn dart.

Thanks :)

Ответить
Benjamin Jeschke
Benjamin Jeschke - 26.07.2023 12:42

The named parameter 'body' isn't defined. ?

Ответить
syed rizwan
syed rizwan - 18.07.2023 12:36

hey indians put on 0.75 for better experience😉

Ответить
ali sheykhlar
ali sheykhlar - 14.07.2023 10:27

perfect

Ответить
Nenad Bazovic
Nenad Bazovic - 10.07.2023 00:58

Great! Just FloatingActionButton needsOnpressed to work.

Ответить
Faheem Ahmad Official
Faheem Ahmad Official - 30.03.2023 01:16

please make a new series on flutter

Ответить
Krissie
Krissie - 26.01.2023 02:02

Thanks for this tutorial it is really detailed.

Ответить
Lurshai Nongkhlaw
Lurshai Nongkhlaw - 24.01.2023 07:30

Bruh i swear i heard your voice in Thor ragnarok

Ответить
Evander Mursh
Evander Mursh - 07.01.2023 07:51

Just in case people are having issues with the floating action button, if it says you have to add an onPressed callback, just add it and set it to null

Ответить
Victor Borah
Victor Borah - 25.11.2022 08:47

Those who are having issues with the floatingActionButton, here is the code:
floatingActionButton: FloatingActionButton(
onPressed: () {},
child: Text('Click'),
),

Ответить
Abdul Samad
Abdul Samad - 14.11.2022 08:50

Amazing tutorial for flutter. very easy to understand and practice. I'm getting "Hot Restart Error DevFS synchronization failed" msg when using FloatingActionButton. Anyone answer, how this can be resolved

Ответить
Letácio Galvão
Letácio Galvão - 26.10.2022 04:42

Great

Ответить
Unwanted Child
Unwanted Child - 19.10.2022 22:02

There's no floatingactionButton for me :<

Ответить
Лаки Грин
Лаки Грин - 01.10.2022 20:29

thanks for the video. i am a newbie. trying to learn. your video has made me confused. the things you call widgets are classified as "classes" in the flutter reference. wasted some time looking for that scaffold in widgets section ;p

Ответить
Sai Praneetha
Sai Praneetha - 03.09.2022 11:33

Hey, this is an amazing series! I keep getting this error tho "The named parameter 'onPressed' is required, but there's no corresponding argument." when I am trying to run the floatingactionbutton. Can someone help me with that?

Ответить
Rusty On AI
Rusty On AI - 22.08.2022 19:22

onPressed, needs to be set to null for this to hot reload with the button. I guess changes after 3 years. :0)

Ответить
Anonymous
Anonymous - 19.08.2022 07:29

Why does the Center widget require a "child" but the Scaffold or Appbar do not?

Ответить
Rblorre
Rblorre - 11.08.2022 18:33

I would like to leave a note for future viewers :
Calling MaterialApp in runApp directly prevents hot reload, to solve this create a custom App widget that returns MaterialApp in the build method

Ответить
Siddharth Rajpal
Siddharth Rajpal - 06.08.2022 15:32

This is amazing... like I am absolutely stunned
and if any of you guys are getting an error for the floating action button just put in onpressed = null, as a property

Ответить
Vinicius Dreher
Vinicius Dreher - 03.08.2022 20:56

error with the floating action:

floatingActionButton: FloatingActionButton(
onPressed: null,
child: Text('seila'),

Ответить
Pablo Fernandez
Pablo Fernandez - 22.07.2022 20:56

Much better than the other tutorial made by the ex-google guy

Ответить
Cakra Khana
Cakra Khana - 13.07.2022 08:55

Day 2

Ответить
Harsh Bhatt
Harsh Bhatt - 07.07.2022 19:37

I have one error here when I delete the onpress vallue

Ответить
Sree Preethi S K
Sree Preethi S K - 01.07.2022 08:16

hey can anyone help me ? I'm having problems with running the pgm in the virtual device, it says the virtual device cant be connected with main.dart at all. what should I do now?

Ответить
Koren Ben Ezri
Koren Ben Ezri - 01.07.2022 00:06

I'm here to hear you say "widgets" :)

Ответить
Narayan Dhungana
Narayan Dhungana - 28.06.2022 06:04

Solution for floating action button:
floatingActionButton: FloatingActionButton(

child: Text('click'),
onPressed: () { },),

Ответить
Hạnh Lưu
Hạnh Lưu - 26.05.2022 20:00

Hi... loving these tutorials. One question: what option or plugin do I need to enable the vertical guide lines that group functions' bodies?

Ответить
Yves-Michel Leporcher
Yves-Michel Leporcher - 19.05.2022 22:33

Hello, it would be lovelly if you could update this tutorial, amazing, yet we may run into errors frequently to date

Ответить
omkar vashistha
omkar vashistha - 06.05.2022 20:24

can anyone tell how to get that tree like structure for code in android studio

Ответить
Ritu
Ritu - 01.05.2022 23:54

I am getting an error with AppBar (saying const with non const), anybody help?

Ответить
bkf
bkf - 25.04.2022 01:13

As someone who has used xaml for years, hopefully someone will create a markup language for this. I can't imagine editing this once you have some crazy tree.

Ответить
Mark Soliver
Mark Soliver - 11.04.2022 01:11

worked on my end, thanks!

Ответить
Kiprop Kigz
Kiprop Kigz - 17.03.2022 07:56

I have a midterm project and I have been considering Flutter for it.. sir, you are a savior.... I enjoyed learning from this Video!

Ответить
Aysee Frag
Aysee Frag - 27.02.2022 05:54

Error: Cannot invoke a non-'const' constructor where a const expression is expected. Try using a constructor or factory that is 'const'. appBar: AppBar( ^^^^^^

Ответить
RandomShowerThoughts
RandomShowerThoughts - 14.02.2022 05:29

probably the best series on flutter and dart I've ever seen

Ответить
Jake Billard
Jake Billard - 10.02.2022 01:49

I'm following along with the tutorials step by step, but when I type "body: Center(child: Text('hello ninjas!')" it tells me "body" is not defined. Any advice? Thanks

Ответить
atull choudhary
atull choudhary - 23.01.2022 18:57

great

Ответить
Phillip Maser
Phillip Maser - 19.01.2022 02:39

I thinking Bluetooth in WIFI out... I want to log form one device and store in the cloud via mysql.

Ответить
Phillip Maser
Phillip Maser - 19.01.2022 02:37

Great series of Videos, Can Flutter work with GPS data, can it read Bluetooth and Send out MQTT protocol packets.

Ответить
Wahyu Archery
Wahyu Archery - 13.01.2022 10:51

easy to follow for beginner, thanks Dude for making this vidio

Ответить
Blina09
Blina09 - 27.12.2021 17:01

i had to add;
floatingActionButton: FloatingActionButton(
child: Text('click'),
onPressed: () {},
),

Ответить
McBrincie212
McBrincie212 - 26.12.2021 00:19

I Have Only Positive Things to Say About This Man. Very Good Tutorials I Quite Learned a Lot About Flutter

Ответить
nacer lachhab
nacer lachhab - 24.12.2021 05:24

the script dosnt work until adding onpressed: null, in the widget floatingActionButton()

Ответить
nacer lachhab
nacer lachhab - 24.12.2021 05:24

the script dosnt work until adding onpressed: null, in the widget floatingActionButton()

Ответить
nacer lachhab
nacer lachhab - 24.12.2021 05:24

the script dosnt work until adding onpressed: null, in the widget floatingActionButton()

Ответить
Devlok Avenue
Devlok Avenue - 17.12.2021 13:02

Error: Required named parameter 'onPressed' must be provided.
floatingActionButton: FloatingActionButton(),

when i add :

floatingActionButton: FloatingActionButton(
child: Text('click'),
),

Ответить