NList constructor

NList({
  1. Key? key,
  2. List<Widget>? child,
  3. bool finished = false,
  4. bool error = false,
  5. int offset = 30,
  6. String loadingText = "加载中...",
  7. String? finishedText,
  8. String? errorText,
  9. required dynamic onLoad(),
})

Implementation

NList(
    {Key? key,
    this.child,
    this.finished: false,
    this.error: false,
    this.offset: 30,
    this.loadingText: "加载中...",
    this.finishedText,
    this.errorText,
    required this.onLoad})
    : super(key: key);