File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,8 @@ const double _composeButtonSize = 44;
82
82
///
83
83
/// Subclasses must ensure that [_update] is called in all exposed constructors.
84
84
abstract class ComposeController <ErrorT > extends TextEditingController {
85
+ ComposeController ({super .text});
86
+
85
87
int get maxLengthUnicodeCodePoints;
86
88
87
89
String get textNormalized => _textNormalized;
@@ -143,7 +145,7 @@ enum TopicValidationError {
143
145
}
144
146
145
147
class ComposeTopicController extends ComposeController <TopicValidationError > {
146
- ComposeTopicController ({required this .store}) {
148
+ ComposeTopicController ({super .text, required this .store}) {
147
149
_update ();
148
150
}
149
151
@@ -226,7 +228,7 @@ enum ContentValidationError {
226
228
}
227
229
228
230
class ComposeContentController extends ComposeController <ContentValidationError > {
229
- ComposeContentController () {
231
+ ComposeContentController ({ super .text} ) {
230
232
_update ();
231
233
}
232
234
You can’t perform that action at this time.
0 commit comments