Milos Jokic (@miloshjokic) 's Twitter Profile
Milos Jokic

@miloshjokic

Building & growing apps since 2011 • 100+ clients served • @toptal Flutter Tech Lead • How I made $100K with mobile apps ↓

ID: 866011023999983621

linkhttps://milosjokic.com/tips calendar_today20-05-2017 19:21:32

885 Tweet

2,2K Followers

719 Following

Milos Jokic (@miloshjokic) 's Twitter Profile Photo

Stop styling Text widgets manually. Instead, define your styles once using ThemeData.textTheme, and use them everywhere. ✅ Consistent text style ✅ Cleaner widget code ✅ Easy to update For each text style I define: - size - color - height - weight - letter spacing That way

Stop styling Text widgets manually.

Instead, define your styles once using ThemeData.textTheme, and use them everywhere.

✅ Consistent text style
✅ Cleaner widget code
✅ Easy to update

For each text style I define:

- size
- color
- height
- weight
- letter spacing

That way
Milos Jokic (@miloshjokic) 's Twitter Profile Photo

Need to sign users in without email? Firebase Auth supports anonymous sign in out of the box: ✅ Users get a real user ID ✅ Firestore security rules work as expected ✅ You can save and load user-specific data ✅ Accounts can be linked later without losing data It’s perfect

Need to sign users in without email?

Firebase Auth supports anonymous sign in out of the box:

✅ Users get a real user ID
✅ Firestore security rules work as expected
✅ You can save and load user-specific data
✅ Accounts can be linked later without losing data

It’s perfect
Milos Jokic (@miloshjokic) 's Twitter Profile Photo

There are many ways to add a widget to children in Flutter. I mostly stick to the first two: ✅ Unconditional ✅ Simple if If the logic gets more complex, I move it outside the widget tree to keep things clean. My rule: - Small widget? Add it inline. - Bigger logic? Handle it

There are many ways to add a widget to children in Flutter.

I mostly stick to the first two:

✅ Unconditional
✅ Simple if

If the logic gets more complex, I move it outside the widget tree to keep things clean.

My rule:
- Small widget? Add it inline.
- Bigger logic? Handle it