FastListHeader constructor

FastListHeader({
  1. Key? key,
  2. required String categoryText,
  3. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 16.0),
  4. EdgeInsets margin = const EdgeInsets.symmetric(vertical: 16.0),
  5. Color? categoryColor,
  6. Color? captionColor,
  7. String? captionText,
})

Implementation

FastListHeader({
  Key? key,
  required this.categoryText,
  this.padding = const EdgeInsets.symmetric(horizontal: 16.0),
  this.margin = const EdgeInsets.symmetric(vertical: 16.0),
  this.categoryColor,
  this.captionColor,
  this.captionText,
}) : super(key: key);