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

Iterator was called on Null. #8

Closed
rishabhdeepsingh opened this issue Mar 27, 2020 · 5 comments
Closed

Iterator was called on Null. #8

rishabhdeepsingh opened this issue Mar 27, 2020 · 5 comments

Comments

@rishabhdeepsingh
Copy link

When I try to build this widget simply by using the below code. I am getting the following error. any help would be appreciated.

    return NativeDataTable(
      columns: [
        DataColumn(label: Text('Name')),
        DataColumn(label: Text('Address')),
      ],
      rows: [
        DataRow(cells: [
          DataCell(Text('this is a name')),
          DataCell(Text('This is an address')),
        ])
      ],
    );
The getter 'iterator' was called on null.
Receiver: null
Tried calling: iterator
@rodydavis
Copy link
Owner

Working on a refactor again the moment, but make sure they data is not null. Check out the example too

@rishabhdeepsingh
Copy link
Author

I know the data is not null. still getting this error.

@bas24
Copy link

bas24 commented Apr 2, 2020

Any progress on this ASAP?

@y4gamilight
Copy link

y4gamilight commented Apr 3, 2020

please provider properties

actions: <Widget>[

  ],

It's worked with me

@rodydavis
Copy link
Owner

I fixed this in version 1.2.0

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

4 participants