Flutter #day10

Photo by Chris Ried on Unsplash

Flutter #day10

ยท

1 min read

Xylo app:

added the functionality of the button, played the sound, increased the size, and gave color.

used expanded to expand the column buttons to take all the space, and then used cross-axis alignment stretch to expand it horizontally.

used arrow functions instead of normal ones(arrow functions are used when the function body has only a single line of code.)

and we don't need to use the return keyword.

for ex:-

int func()

{

return 5+2;

}

int func() => 5+2;

finally completed the project xylophone.

Started a new project quizzler which includes the usage of classes and objects.

ย