BothSideTextCell constructor

const BothSideTextCell({
  1. Key? key,
  2. double space = 12,
  3. EdgeInsetsGeometry padding = const EdgeInsets.all(0),
  4. String title = '',
  5. String content = '',
  6. TextStyle titleStyle = const TextStyle(color: Color(0xFF777777), fontSize: 14, fontWeight: FontWeight.normal),
  7. TextStyle contentStyle = const TextStyle(color: Color(0xFF777777), fontSize: 14, fontWeight: FontWeight.normal),
  8. int titleMaxLines = 1,
  9. int contentMaxLines = 1,
  10. bool canTitleExpanded = true,
  11. Color dividerColor = Colors.transparent,
})

Implementation

const BothSideTextCell({
  Key? key,
  this.space = 12,
  this.padding = const EdgeInsets.all(0),
  this.title = '',
  this.content = '',
  this.titleStyle = const TextStyle(color: Color(0xFF777777), fontSize: 14, fontWeight: FontWeight.normal),
  this.contentStyle = const TextStyle(color: Color(0xFF777777), fontSize: 14, fontWeight: FontWeight.normal),
  this.titleMaxLines = 1,
  this.contentMaxLines = 1,
  this.canTitleExpanded = true,
  this.dividerColor = Colors.transparent,
}) : super(key: key);