[Adjustment] - Adjust the platform variable in keyboard.dart now that Flutter has resolved issue

Open Beginner friendly
#44 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
82/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Quiet
Tech stack
dart, flutter
Domain
testing-qa

Research direction

Start in keyboard.dart at typeKeyboardText and review the linked Flutter issue to confirm the platform workaround is no longer needed. Remove the obsolete adjustment and run the repository's relevant tests to verify keyboard text entry still works.

Written by the indexing model from the issue text.

Description

keyboard.dart contains the following snippet:

Future<void> typeKeyboardText(String plainText) async {
    // Avoid generating characters with an "ios" platform due to Flutter bug.
    // TODO: Remove special platform selection when Flutter issue is solved (https://github.com/flutter/flutter/issues/133956)
    final platform = _keyEventPlatform != "ios" ? _keyEventPlatform : "android";

The linked issue claims to be resolved. Update the code accordingly.

Dominant language
Dart
Stars
27
Forks
3
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.