iamshaunjp / iamshaunjp/flutter-beginners-tutorial
the named parameter 'onpressed' is required
- Dominant language
- No language data
- Stars
- 1.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
Hey, I am trying to just get to know the scaffold widget, while giving the **_floatactionbutton_** widget I am getting this error:
_**The named parameter onPressed is required, but there is no corresponding argument**_
If I have to just add a onPressed action for the widget, then how is that the method followed in the Youtube video is not getting the same error? Can someone tell me if I have done something wrong?(Screenshot below for reference)

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.