BlockStyle constructor
const
BlockStyle({
- TextStyle textStyle = const TextStyle(fontSize: 16),
- TextStyle emptyTextStyle = const TextStyle(fontSize: 16, color: Color(0xFF9E9E9E)),
- TextStyle editingTextStyle = const TextStyle(fontSize: 16),
- double indentWidth = 24.0,
- double bulletSpacing = 8.0,
- double bulletSize = 6.0,
- Color? bulletColor,
- double collapseIconSize = 20.0,
- EdgeInsets contentPadding = const EdgeInsets.symmetric(vertical: 2),
- String emptyBlockText = 'Empty block',
Implementation
const BlockStyle({
this.textStyle = const TextStyle(fontSize: 16),
this.emptyTextStyle = const TextStyle(
fontSize: 16,
color: Color(0xFF9E9E9E),
),
this.editingTextStyle = const TextStyle(fontSize: 16),
this.indentWidth = 24.0,
this.bulletSpacing = 8.0,
this.bulletSize = 6.0,
this.bulletColor,
this.collapseIconSize = 20.0,
this.contentPadding = const EdgeInsets.symmetric(vertical: 2),
this.emptyBlockText = 'Empty block',
});