Flutter Morse Code Card with Dot Dash Timing Signal Strip

A Morse code keyer card for learning and ham radio apps: HELLO spelled with dot and dash pills under each letter, a 49 unit signal strip drawn to scale with on marks and letter gaps, the four timing rules for dots, dashes, letter gaps and word gaps, and a key button.

Anılcan Çakır by Anılcan Çakır 189 views 0 stars 3 weeks ago Rev 1
Flutter Morse Code Card with Dot Dash Timing Signal Strip preview
main.dart
WDiv(
  className: 'w-[340px] rounded-3xl bg-white dark:bg-gray-900 border border-gray-200 dark:border-gray-800 p-5 flex flex-col shadow-xl',
  children: [
    WDiv(
      className: 'flex flex-row items-center justify-between w-full',
      children: [
        WDiv(
          className: 'flex flex-row items-center gap-3',
          children: [
            WDiv(
              className: 'flex flex-row items-center justify-center w-10 h-10 rounded-xl bg-emerald-600 dark:bg-emerald-500',
              child: WIcon(
                Icons.volume_up,
                className: 'text-white text-xl'
              )
            ),
            WDiv(
              className: 'flex flex-col',
              children: [
                WText(
                  'Morse Keyer',
                  className: 'text-base font-bold text-gray-900 dark:text-white'
                ),
                WText(
                  'International code',
                  className: 'text-xs text-gray-500 dark:text-gray-400'
                ),
              ]
            ),
          ]
        ),
        WDiv(
          className: 'rounded-full bg-emerald-50 dark:bg-emerald-900/40 px-3 py-1',
          child: WText(
            '49 units',
            className: 'text-xs font-bold text-emerald-700 dark:text-emerald-300'
          )
        ),
      ]
    ),
    WDiv(
      className: 'flex flex-row justify-between w-full mt-4 rounded-2xl bg-gray-50 dark:bg-gray-800 px-4 py-3',
      children: [
        WDiv(
          className: 'flex flex-col items-center',
          children: [
            WText(
              'H',
              className: 'text-2xl font-bold text-gray-900 dark:text-white'
            ),
            WDiv(
              className: 'flex flex-row items-center gap-[3px] h-[10px] mt-1',
              children: [
                WDiv(
                  className: 'w-[6px] h-[6px] rounded-full bg-emerald-600 dark:bg-emerald-400'
                ),
                WDiv(
                  className: 'w-[6px] h-[6px] rounded-full bg-emerald-600 dark:bg-emerald-400'
                ),
                WDiv(
                  className: 'w-[6px] h-[6px] rounded-full bg-emerald-600 dark:bg-emerald-400'
                ),
                WDiv(
                  className: 'w-[6px] h-[6px] rounded-full bg-emerald-600 dark:bg-emerald-400'
                ),
              ]
            ),
          ]
        ),
        WDiv(
          className: 'flex flex-col items-center',
          children: [
            WText(
              'E',
              className: 'text-2xl font-bold text-gray-900 dark:text-white'
            ),
            WDiv(
              className: 'flex flex-row items-center gap-[3px] h-[10px] mt-1',
              children: [
                WDiv(
                  className: 'w-[6px] h-[6px] rounded-full bg-emerald-600 dark:bg-emerald-400'
                ),
              ]
            ),
          ]
        ),
        WDiv(
          className: 'flex flex-col items-center',
          children: [
            WText(
              'L',
              className: 'text-2xl font-bold text-gray-900 dark:text-white'
            ),
            WDiv(
              className: 'flex flex-row items-center gap-[3px] h-[10px] mt-1',
              children: [
                WDiv(
                  className: 'w-[6px] h-[6px] rounded-full bg-emerald-600 dark:bg-emerald-400'
                ),
                WDiv(
                  className: 'w-[16px] h-[6px] rounded-full bg-emerald-600 dark:bg-emerald-400'
                ),
                WDiv(
                  className: 'w-[6px] h-[6px] rounded-full bg-emerald-600 dark:bg-emerald-400'
                ),
                WDiv(
                  className: 'w-[6px] h-[6px] rounded-full bg-emerald-600 dark:bg-emerald-400'
                ),
              ]
            ),
          ]
        ),
        WDiv(
          className: 'flex flex-col items-center',
          children: [
            WText(
              'L',
              className: 'text-2xl font-bold text-gray-900 dark:text-white'
            ),
            WDiv(
              className: 'flex flex-row items-center gap-[3px] h-[10px] mt-1',
              children: [
                WDiv(
                  className: 'w-[6px] h-[6px] rounded-full bg-emerald-600 dark:bg-emerald-400'
                ),
                WDiv(
                  className: 'w-[16px] h-[6px] rounded-full bg-emerald-600 dark:bg-emerald-400'
                ),
                WDiv(
                  className: 'w-[6px] h-[6px] rounded-full bg-emerald-600 dark:bg-emerald-400'
                ),
                WDiv(
                  className: 'w-[6px] h-[6px] rounded-full bg-emerald-600 dark:bg-emerald-400'
                ),
              ]
            ),
          ]
        ),
        WDiv(
          className: 'flex flex-col items-center',
          children: [
            WText(
              'O',
              className: 'text-2xl font-bold text-gray-900 dark:text-white'
            ),
            WDiv(
              className: 'flex flex-row items-center gap-[3px] h-[10px] mt-1',
              children: [
                WDiv(
                  className: 'w-[16px] h-[6px] rounded-full bg-emerald-600 dark:bg-emerald-400'
                ),
                WDiv(
                  className: 'w-[16px] h-[6px] rounded-full bg-emerald-600 dark:bg-emerald-400'
                ),
                WDiv(
                  className: 'w-[16px] h-[6px] rounded-full bg-emerald-600 dark:bg-emerald-400'
                ),
              ]
            ),
          ]
        ),
      ]
    ),
    WDiv(
      className: 'flex flex-row items-center justify-between w-full mt-4',
      children: [
        WText(
          'Signal',
          className: 'text-xs font-semibold text-gray-900 dark:text-white'
        ),
        WText(
          'Dot = 1 unit',
          className: 'text-[11px] text-gray-400 dark:text-gray-500'
        ),
      ]
    ),
    WDiv(
      className: 'flex flex-row items-center justify-center w-full mt-2 rounded-xl bg-slate-900 dark:bg-slate-950 py-3',
      child: WDiv(
        className: 'relative w-[245px] h-[52px]',
        children: [
          WDiv(
            className: 'absolute left-[0px] top-[28px] w-[245px] h-[2px] bg-slate-600 dark:bg-slate-600'
          ),
          WDiv(
            className: 'absolute left-[0px] top-[4px] w-[5px] h-[26px] rounded-[2px] bg-emerald-400 dark:bg-emerald-400'
          ),
          WDiv(
            className: 'absolute left-[10px] top-[4px] w-[5px] h-[26px] rounded-[2px] bg-emerald-400 dark:bg-emerald-400'
          ),
          WDiv(
            className: 'absolute left-[20px] top-[4px] w-[5px] h-[26px] rounded-[2px] bg-emerald-400 dark:bg-emerald-400'
          ),
          WDiv(
            className: 'absolute left-[30px] top-[4px] w-[5px] h-[26px] rounded-[2px] bg-emerald-400 dark:bg-emerald-400'
          ),
          WDiv(
            className: 'absolute left-[50px] top-[4px] w-[5px] h-[26px] rounded-[2px] bg-emerald-400 dark:bg-emerald-400'
          ),
          WDiv(
            className: 'absolute left-[70px] top-[4px] w-[5px] h-[26px] rounded-[2px] bg-emerald-400 dark:bg-emerald-400'
          ),
          WDiv(
            className: 'absolute left-[80px] top-[4px] w-[15px] h-[26px] rounded-[2px] bg-emerald-400 dark:bg-emerald-400'
          ),
          WDiv(
            className: 'absolute left-[100px] top-[4px] w-[5px] h-[26px] rounded-[2px] bg-emerald-400 dark:bg-emerald-400'
          ),
          WDiv(
            className: 'absolute left-[110px] top-[4px] w-[5px] h-[26px] rounded-[2px] bg-emerald-400 dark:bg-emerald-400'
          ),
          WDiv(
            className: 'absolute left-[130px] top-[4px] w-[5px] h-[26px] rounded-[2px] bg-emerald-400 dark:bg-emerald-400'
          ),
          WDiv(
            className: 'absolute left-[140px] top-[4px] w-[15px] h-[26px] rounded-[2px] bg-emerald-400 dark:bg-emerald-400'
          ),
          WDiv(
            className: 'absolute left-[160px] top-[4px] w-[5px] h-[26px] rounded-[2px] bg-emerald-400 dark:bg-emerald-400'
          ),
          WDiv(
            className: 'absolute left-[170px] top-[4px] w-[5px] h-[26px] rounded-[2px] bg-emerald-400 dark:bg-emerald-400'
          ),
          WDiv(
            className: 'absolute left-[190px] top-[4px] w-[15px] h-[26px] rounded-[2px] bg-emerald-400 dark:bg-emerald-400'
          ),
          WDiv(
            className: 'absolute left-[210px] top-[4px] w-[15px] h-[26px] rounded-[2px] bg-emerald-400 dark:bg-emerald-400'
          ),
          WDiv(
            className: 'absolute left-[230px] top-[4px] w-[15px] h-[26px] rounded-[2px] bg-emerald-400 dark:bg-emerald-400'
          ),
          WText(
            'H',
            className: 'absolute left-[0px] top-[36px] w-[35px] text-center text-[11px] font-semibold text-slate-400 dark:text-slate-400'
          ),
          WText(
            'E',
            className: 'absolute left-[50px] top-[36px] w-[5px] text-center text-[11px] font-semibold text-slate-400 dark:text-slate-400'
          ),
          WText(
            'L',
            className: 'absolute left-[70px] top-[36px] w-[45px] text-center text-[11px] font-semibold text-slate-400 dark:text-slate-400'
          ),
          WText(
            'L',
            className: 'absolute left-[130px] top-[36px] w-[45px] text-center text-[11px] font-semibold text-slate-400 dark:text-slate-400'
          ),
          WText(
            'O',
            className: 'absolute left-[190px] top-[36px] w-[55px] text-center text-[11px] font-semibold text-slate-400 dark:text-slate-400'
          ),
        ]
      )
    ),
    WDiv(
      className: 'flex flex-row gap-2 w-full mt-4',
      children: [
        WDiv(
          className: 'flex flex-col items-center w-[68px] rounded-xl border border-gray-200 dark:border-gray-700 py-2',
          children: [
            WText(
              '1',
              className: 'text-lg font-bold text-gray-900 dark:text-white'
            ),
            WText(
              'Dot',
              className: 'text-[10px] text-gray-500 dark:text-gray-400'
            ),
          ]
        ),
        WDiv(
          className: 'flex flex-col items-center w-[68px] rounded-xl border border-gray-200 dark:border-gray-700 py-2',
          children: [
            WText(
              '3',
              className: 'text-lg font-bold text-gray-900 dark:text-white'
            ),
            WText(
              'Dash',
              className: 'text-[10px] text-gray-500 dark:text-gray-400'
            ),
          ]
        ),
        WDiv(
          className: 'flex flex-col items-center w-[68px] rounded-xl border border-gray-200 dark:border-gray-700 py-2',
          children: [
            WText(
              '3',
              className: 'text-lg font-bold text-gray-900 dark:text-white'
            ),
            WText(
              'Letter gap',
              className: 'text-[10px] text-gray-500 dark:text-gray-400'
            ),
          ]
        ),
        WDiv(
          className: 'flex flex-col items-center w-[68px] rounded-xl border border-gray-200 dark:border-gray-700 py-2',
          children: [
            WText(
              '7',
              className: 'text-lg font-bold text-gray-900 dark:text-white'
            ),
            WText(
              'Word gap',
              className: 'text-[10px] text-gray-500 dark:text-gray-400'
            ),
          ]
        ),
      ]
    ),
    WText(
      'Every timing is a multiple of one dot.',
      className: 'text-xs text-gray-500 dark:text-gray-400 mt-3'
    ),
    WDiv(
      className: 'w-full mt-4',
      child: WButton(
        className: 'w-full rounded-2xl bg-emerald-600 dark:bg-emerald-500 py-3 flex flex-row items-center justify-center gap-2',
        child: WText(
          'Key HELLO',
          className: 'text-sm font-semibold text-white'
        )
      )
    ),
  ]
)
Stats
Views
189
Stars
0
Revisions
1
Size
12,044 chars
Created
Oct 8, 2026