Skip to content

Commit

Permalink
Merge pull request #151 from jpnurmi/text-input-client
Browse files Browse the repository at this point in the history
Fix Flutter 3.7 incompatibilities
  • Loading branch information
xtyxtyx authored Jan 27, 2023
2 parents ecf8c1d + 20f85d2 commit 205d6fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/lib/src/platform_menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class _AppPlatformMenuState extends State<AppPlatformMenu> {
}

return PlatformMenuBar(
menus: <MenuItem>[
menus: [
PlatformMenu(
label: 'TerminalStudio',
menus: [
Expand Down
3 changes: 1 addition & 2 deletions lib/src/ui/custom_text_edit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ class CustomTextEdit extends StatefulWidget {
CustomTextEditState createState() => CustomTextEditState();
}

class CustomTextEditState extends State<CustomTextEdit>
implements TextInputClient {
class CustomTextEditState extends State<CustomTextEdit> with TextInputClient {
TextInputConnection? _connection;

@override
Expand Down

0 comments on commit 205d6fc

Please sign in to comment.