WritingGuidelinesWrap constructor

const WritingGuidelinesWrap({
  1. Key? key,
  2. required List<Widget> children,
  3. double fontSize = 30,
  4. Color lineColor = const Color(0xFFE0E0E0),
  5. double lineWidth = 1.0,
  6. double runSpacing = 16.0,
  7. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 4.0),
  8. Color? backgroundColor,
  9. VoidCallback? onTap,
})

创建会按宽度自动换行的写字格流式布局。

Implementation

const WritingGuidelinesWrap({
  super.key,
  required this.children,
  this.fontSize = 30,
  this.lineColor = const Color(0xFFE0E0E0),
  this.lineWidth = 1.0,
  this.runSpacing = 16.0,
  this.padding = const EdgeInsets.symmetric(horizontal: 4.0),
  this.backgroundColor,
  this.onTap,
});