Skip to content

Commit

Permalink
Make simplistic_editor compile
Browse files Browse the repository at this point in the history
  • Loading branch information
domesticmouse committed Nov 12, 2023
1 parent 6447e13 commit 5b8613e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions simplistic_editor/lib/basic_text_field.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class BasicTextField extends StatefulWidget {
onLookUp: onLookUp,
onLiveTextInput: onLiveTextInput,
anchors: anchors,
// TODO(RencoOlivares): https://github.com/flutter/samples/issues/2088
onSearchWeb: null,
onShare: null,
);
}

Expand Down
2 changes: 1 addition & 1 deletion simplistic_editor/lib/basic_text_input_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ class _Editable extends MultiChildRenderObjectWidget {
expands: expands,
strutStyle: strutStyle,
selectionColor: selectionColor,
textScaler: TextScaler.linear(textScaleFactor),
textScaler: textScaler,
textAlign: textAlign,
textDirection: textDirection,
locale: locale ?? Localizations.maybeLocaleOf(context),
Expand Down

0 comments on commit 5b8613e

Please sign in to comment.