flutter_pagewise icon indicating copy to clipboard operation
flutter_pagewise copied to clipboard

Creating custom Pagewise Widget

Open iDevJan opened this issue 4 years ago • 0 comments

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,
              );
        });
}

iDevJan avatar Aug 20 '20 19:08 iDevJan