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

Creating custom Pagewise Widget #89

Open
iDevJan opened this issue Aug 20, 2020 · 0 comments
Open

Creating custom Pagewise Widget #89

iDevJan opened this issue Aug 20, 2020 · 0 comments

Comments

@iDevJan
Copy link

iDevJan commented Aug 20, 2020

Hello, I have a problem creating a custom pagewise widget. I have checked examples and the problem is that I can not access state properties, because they are private. Are there any plans to fix this?

class Foo<T> extends Pagewise<T> {
  Foo()
      : super(builder: (PagewiseState<T> state) {
          return ListView.builder(
              itemCount: state._itemCount, 
              itemBuilder: state._itemBuilder,
              );
        });
}
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

1 participant