feat: customize the placeholder text style

This commit is contained in:
Lucas.Xu 2022-10-26 14:51:39 +08:00
parent e7adc3bcbf
commit 3f97820094

View File

@ -14,6 +14,10 @@ EditorStyle customEditorTheme(BuildContext context) {
fontFamily: 'poppins',
fontSize: _baseFontSize,
),
placeholderTextStyle: editorStyle.placeholderTextStyle?.copyWith(
fontFamily: 'poppins',
fontSize: _baseFontSize,
),
bold: editorStyle.bold?.copyWith(
fontWeight: FontWeight.w500,
),