getView method

Widget getView(
  1. dynamic w,
  2. dynamic h,
  3. dynamic onTap(
    1. int type
    )
)

Implementation

Widget getView(w,h,Function(int type) onTap) {
  width = w;
  height = h;
  return CardBackpackView(this,onTap);
}