Inspiration

i see that with drag widget you can drag something in the screen , i ask my self why not make something useful by this mean:) i say i have to build something to improve kids ordering skills

What it does

ordering numbers in ascending order by *dragging *

How we built it

using draggable widget (package :drag_and_drop_gridview) pub.dev/packages/drag_and_drop_gridview link for the package in pub.dev: pub.dev/packages/drag_and_drop_gridview this package is not null saftey so i copy it's code from github and edit it to be null saftey

initially , making two arrays .and one SET , on of arrays is sorted and another is not

generate random in specific range (depending on level): level 1: 1 - 20 level2: 21 - 99 level3: 100 - 999 i add the generated to the SET so the number would not be repeated .

in level one generate 10 numbers in level two generate 15 numbers in level three generate 20 numbers

then fill unsorted array using the SET and copy it in the another Array then sort it.

every time kid swap tow numbers , there is a function to check if the two arrays are equal or not if not swap the two numbers , if there are equal showing youwinDialog if the time is over showing youlostDialog

Challenges we ran into

Accomplishments that we're proud of

swapping numbers and checking if array is sorted

What we learned

What's next for NumberArrangementForKids

adding *alphabets * and also sorting things in many topics (geographic , sport , etc )

Built With

Share this project:

Updates