iamshaunjp / iamshaunjp/flutter-beginners-tutorial

the named parameter 'onpressed' is required

Open
#61 2 comments 0 reactions 0 assignees View on GitHub
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)

![image](https://user-images.githubusercontent.com/58947833/185782717-600744cc-c566-4479-832d-80aca740f5d8.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.