You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

2h 17m 10s logged

🏯 禅文 Zenwen - Devlog 4️⃣

👋 你好! Zenwen is an app to help people learn Chinese. As someone with a 970 day Duolingo streak, I know what us language learners need.


⌚ TL;DR

HIT THE 10 HOUR MARK 🎉

Today I made the vocab page and made it so you can delete decks. I also polished up the graphics a bit.


📕 What I Learned

Today I learned lots of useful things!

I learned about some new styling for Material() widgets, along with 4 new widgets:

  • Stack()
  • IntrinsicHeight()
  • Expanded()
  • Padding()

Also learned how to make if else statements in ListView.builders!


🗣️ In depth summary

Today’s main objective was making the vocab page.

To do this I used a simple ListView.builder to iterate through the vocab lists.

One issue I had was the layout of the vocab. I wanted an equally spaced horizontal layout with a delete button floating at the right.

This was a problem because I only knew about the Row() widget. In order to get the layout I wanted, I had to learn about Stack() and IntrinsicHeight() and Padding() and Expanded().

Another thing I ran into was that it crashed when I deleted all the decks or all the vocab.

In order to fix this I learned about if else statements to create different widgets based on the conditions!


👣 Next Steps

I’m almost ready to ship!

I still have to make a few things though: a master vocab deck, and ideally a search bar. If the search bar goes well then I can also add filters for the decks if I decide it’s worth it.

0
31

Comments 0

No comments yet. Be the first!