Update raw_editor.dart

pull/1530/head
Ellet 1 year ago
parent b55a5a2261
commit 176dbd5d59
No known key found for this signature in database
GPG Key ID: C488CC70BBCEF0D1
  1. 7
      lib/src/widgets/raw_editor/raw_editor.dart

@ -1,4 +1,6 @@
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart'
show BuildContext, State, StatefulWidget, Widget;
import 'package:meta/meta.dart' show immutable;
import '../../models/config/raw_editor/configurations.dart';
import 'raw_editor_state.dart';
@ -37,8 +39,9 @@ typedef QuillEditorContextMenuBuilder = Widget Function(
QuillRawEditorState rawEditorState,
);
@immutable
class QuillEditorGlyphHeights {
QuillEditorGlyphHeights(
const QuillEditorGlyphHeights(
this.startGlyphHeight,
this.endGlyphHeight,
);

Loading…
Cancel
Save