SkeletonList constructor

SkeletonList(
  1. {int length = 6,
  2. EdgeInsetsGeometry padding = const EdgeInsets.all(7),
  3. @required IndexedWidgetBuilder builder}
)

Implementation

SkeletonList(
    {this.length: 6, //一般屏幕长度够用
    this.padding = const EdgeInsets.all(7),
    @required this.builder});