Reformat code

pull/531/head
X Code 3 years ago
parent 156e0d71df
commit d1fa59a759
  1. 8
      lib/src/widgets/raw_editor.dart

@ -30,8 +30,8 @@ import 'text_line.dart';
import 'text_selection.dart';
class RawEditor extends StatefulWidget {
const RawEditor({
required this.controller,
const RawEditor(
{required this.controller,
required this.focusNode,
required this.scrollController,
required this.scrollBottomInset,
@ -63,8 +63,8 @@ class RawEditor extends StatefulWidget {
this.scrollPhysics,
this.embedBuilder = defaultEmbedBuilder,
this.customStyleBuilder,
this.floatingCursorDisabled = false
}) : assert(maxHeight == null || maxHeight > 0, 'maxHeight cannot be null'),
this.floatingCursorDisabled = false})
: assert(maxHeight == null || maxHeight > 0, 'maxHeight cannot be null'),
assert(minHeight == null || minHeight >= 0, 'minHeight cannot be null'),
assert(maxHeight == null || minHeight == null || maxHeight >= minHeight,
'maxHeight cannot be null'),

Loading…
Cancel
Save