-
Notifications
You must be signed in to change notification settings - Fork 3
feat: Add morse_tap package with gesture-based input #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Implement MorseTapDetector widget with gesture recognition - Add MorseTextInput for real-time text conversion - Create MorseCodec algorithm with comprehensive character support - Include string extensions for easy Morse code conversion - Add complete example app with 3 demo screens - Implement gesture system: single tap = dot, double tap = dash, long press = space - Include 8 comprehensive test cases - Add full documentation and README
- Remove animation controllers and visual overlays - Simplify widget to pure gesture detection - Clean up unused visual feedback parameters - Update tests to reflect removed visual features
- Add current sequence display with color-coded feedback - Use onSequenceChange for real-time progress updates - Update parameter names to match new API - Clear sequence when switching targets
- Add morse_tap.png screenshot to package - Include screenshot in README and pubspec.yaml - Fix incorrect callback names in README examples - Update package description and repository metadata - Document onSequenceChange callback usage
- Apply code formatting and minor cleanup - Maintain consistent code style across package
- Add HapticConfig model with preset configurations - Add HapticFeedbackType enum for Flutter haptic mapping - Add HapticUtils with platform detection and safe execution - Export haptic components from main library
- Add haptic support to MorseTapDetector widget - Fix MorseTextInput overflow by removing fixed height container - Optimize preview layout with flexible sizing
- Move HapticConfigModal to example as reference implementation - Add haptic configuration UI to example apps - Update README with haptic feedback features and usage examples - Update LICENSE file
- Fix test to use correct MorseTapExampleApp class instead of MyApp - Remove unused import to resolve linter warning - Update test to verify app loads correctly
- Reduce spacing between elements to prevent 62px overflow - Optimize tap detector button layout with smaller icon and text - Add mainAxisSize.min to Column to prevent overflow - Reduce padding and font sizes in status message - Improve overall layout compactness
- morse_tap@0.0.2
- Add morse_tap to packages/README.md with pub.dev badge and link - Add morse_tap to root README.md in packages table - Include proper formatting and styling consistent with other packages
- Add conditional platform detection for web, iOS, Android, Linux, macOS, Windows - Replace direct dart:io import with conditional imports for web compatibility - Create platform_utils_io.dart for native platforms (iOS/Android with haptic support) - Create platform_utils_web.dart for web platform (haptic disabled) - Update pubspec.yaml to declare support for all Flutter platforms - Maintain backward compatibility while enabling cross-platform usage 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- morse_tap@0.0.3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Adds a new Flutter package that provides Morse code input functionality using intuitive gestures. Users can input Morse code with single taps for dots, double taps for dashes, and long presses for spaces.
Changes
morse_tappackage to the monorepoMorseTapDetectorwidget for pattern recognitionMorseTextInputwidget for real-time text conversionMorseCodecalgorithm supporting A-Z, 0-9, and punctuationKey Features
Screenshots/videos
Example app demonstrates:
Related Issues
N/A - New feature addition
Additional Notes