WritingGuidelinesWrap constructor
const
WritingGuidelinesWrap({
- Key? key,
- required List<
Widget> children, - double fontSize = 30,
- Color lineColor = const Color(0xFFE0E0E0),
- double lineWidth = 1.0,
- double runSpacing = 16.0,
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 4.0),
- Color? backgroundColor,
- 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,
});