[AVLE] Applied Blockquote/code highlight
this is blockquote
Highlight.
this is code
child: Column(
children: [
_buildHeader(),
TextFormField(
controller: _titleController,
onChanged: (value) {
context.read<PostingBloc>().add(PostingTitleChanged(value));
},
decoration: InputDecoration(
labelText: 'Posting_title_hint'.tr,
filled: true,
fillColor: Colors.white,
),
),
const SizedBox(height: 10),
Editor(
editorType: EditorType.story,
controller: _bodyController,
enabled: true,
username: context.read<AuthBloc>().state.username,
hintText: 'Posting_content_hint'.tr,
onBodyChanged: (String value) {
printError('Posting screen. body changed. $value');
print(
'Posting screen. body changed text controller. ${_bodyController.text}');
context.read<PostingBloc>().add(PostingBodyChanged(value));
},
onClear: () {
// _titleController.text = '';
// _bodyController.text = '';
// clear title too
_titleController.clear();
// context.read<PostingBloc>().add(const PostingTitleChanged(''));
context.read<PostingBloc>().add(PostingStoryDraftCleared());
Posted through the AVLE Dapp (https://avle.io)
This post has been featured in the latest edition of Steem News...