ExpandableCard2 constructor

ExpandableCard2({
  1. bool lowDensity = false,
  2. required String title,
  3. String? subtitle,
  4. Widget? extra,
  5. Future<ImageData<Object>?>? previewImg,
  6. List<Widget> children = const [],
  7. Color? color,
  8. Key? key,
})

Implementation

ExpandableCard2({
  this.lowDensity = false,
  required this.title,
  this.subtitle,
  this.extra,
  this.previewImg,
  this.children = const [],
  this.color,
  Key? key,
})  : this.key = key ?? UniqueKey(),
      this.opacity = 1;