MaterialClassicHeader constructor

const MaterialClassicHeader({
  1. Key? key,
  2. double height = 80.0,
  3. String? semanticsLabel,
  4. String? semanticsValue,
  5. Color? color,
  6. double distance = 50.0,
  7. Color? backgroundColor,
  8. double offset = 0.0,
})

构造函数

Implementation

const MaterialClassicHeader({
  super.key,
  super.height = 80.0,
  this.semanticsLabel,
  this.semanticsValue,
  this.color,
  this.distance = 50.0,
  this.backgroundColor,
  super.offset,
}) : super(
        refreshStyle: RefreshStyle.front,
      );