Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The method 'add' isn't defined for the class 'Function'. #1

Closed
kzawadi opened this issue Dec 25, 2018 · 2 comments
Closed

The method 'add' isn't defined for the class 'Function'. #1

kzawadi opened this issue Dec 25, 2018 · 2 comments

Comments

@kzawadi
Copy link

kzawadi commented Dec 25, 2018

i have run packages get but i keep having squick lines at .add(s)

`StreamBuilder(
stream: bloc.email,
builder: (context, snapshot) => TextField(
onChanged: (s) => bloc.emailChanged.add(s),
keyboardType: TextInputType.emailAddress,
decoration: InputDecoration(
border: OutlineInputBorder(),
hintText: "Enter email",
labelText: "Email",
errorText: snapshot.error),
),
),

@iampawan
Copy link
Owner

It is fixed

@kzawadi
Copy link
Author

kzawadi commented Dec 26, 2018

thanks ....have a nice day and hey i am learning a lot from your tutorials

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants