๐ง Flutter tips
How to render a widget outside of its parent bounds?
Don't overcomplicate this.
Just change the clipBehavior.
#flutterdev #fluttertips
@mcflydev.bsky.social
Apparencekit.dev flutter template ๐ฑ Launching my own apps ๐ฆ
๐ง Flutter tips
How to render a widget outside of its parent bounds?
Don't overcomplicate this.
Just change the clipBehavior.
#flutterdev #fluttertips
Supabase with Deno is ๐ฅ
I used to disagree with this, but once you start getting it right, this is really amazing.
Deploying a function is instant.
Meanwhile, Firebase deploy time takes at least 30 seconds or more.
๐ง Flutter tips
Did you know?
Extension types allow you to have much stricter types in your code.
They also provide an easy way to add methods to a type without creating a class.
Essentially, you can transform a String into a UserId and Email...
#flutterdev #fluttertips
Sometimes I go to sleep with a unfinished design
Then once I wake up, my idea is clearer and I fix it
Here is the unfinished incoming friend invitation system that will be coming on KUBBO
Before coding I spend a lot of time thinking every details of every features.
That's why you should learn design basics
This force you to think of all the possibilities before implementation
For this Figma is my best friend
I design all screen until I am satisfied
- depending on the type of screen I sometime change some components
Inspired by web I handle those different layouts like this
#flutterdev #fluttertips
๐ง Flutter tips
One of the advantage of Flutter is that it works everywhere
So here is how I make sure it's working everywhere
- I do mobile first design
- If the layout change for large screen I reuse my components and adapt for this screen
๐ง Flutter tips
How to automatically restart an animation when a property change
#flutterdev #fluttertips
Outputs > Results
You can't predict results. However, if you consistently focus on improving and delivering, the results will come.
Introducing activity kubbo activity charts
๐ For each goals
๐ activity grid for each habit
Everything to stay motivated and stop procrastinating
๐ง Flutter tips
The biggest limitation of Firestore:
complex queries and search
Some cloud services offer this, but they can be very $$$$...
However, you can achieve it by hosting Elasticsearch with just a few functions.
And guess what? It costs nothing to add a new index.
#flutterdev
๐ง Flutter tips
Don't ask 10 things on a single page
The less people are engaged on your app the less they will do any effort...
Except if you engage them progressively
Asking one thing at a time
This also help them staying focus on what you ask
And this is really easy to do
Rate KUBBO task completion animation
#flutterdev
Introducing daily streak notifications
๐ For each habit on KUBBO
๐ Earn more rewards and XP bonuses
(I'll do a little video tomorrow. Time to run for me)
#flutterdev
- I track all my assumptions into well defined analytics dashboard (mixpanel)
- crash alerts enabled on Sentry
- push the feedback button on all my apps to let people easily reach me
Here's how I make sure every new app I make will be better than previous ones
- I document anything I learn while making apps
- I read regularly
- Before starting an app I make big concurrent research sessions. (doing this for hours)
- Repetitive code is added to ApparenceKit template
Every app I make
I have new improvement ideas for my boilerplate
Small details and big features
Some details that cost you time and energy each time you create a new app.
Like
- adding app locales to Android / iOS
- creating a basic home_widget
- home_widget updates...
#flutterdev
Because Flutter don't have multiple objects for Date and Time you have to know this.
ps: another solution is to create your "Date" only object. I also like to do it for time but this will be for another tips
๐ง Flutter tips
Time and timezone makes things hard
This creates bug you can't see right now or just because you tested at your location
And when you add time?
You also have to think for each case if you have to handle DST correctly.
Without running this
Do you know the difference between those two methods?
#flutterdev
Slowly cooking some home widgets for KUBBO
#shipaton
ASO is broken
Apple popularity score is broken
This explains why I've seen one of my major keywords drop to 5 popularity
I don't hide myself on the app I publish
Staying 100% transparent on who I am and my values has always been important to me.
And I believe that's important for the people that use your product
#shipaton
๐ง Flutter tips
App icons can x2 your number of users
An app icons is way more important than you think
People takes decision on watching your app page on this
This takes time to find the good one.
But the good news is that you can test it on like this ๐
#fluttertips #flutterdev
๐ง Flutter tips
how to handle errors with futures and chain them
#flutterdev #fluttertips
I've been making mobile apps for more than 10 years now
Now I'm launching my own apps using my Flutter boilerplate named ApparenceKit
I hope that you liked this thread and your learned something.
Let me a comment / retweet for support
Gautier - ๐ค
As iOS will stop your app when the app is in background mode
You can't rely on it anymore to update your app
That's how Apple recommend to do it ๐
Plug iOS and Flutter together and simply call it when you want
But that's not finished
Let's see how to update our activity (it's not that simple, stay here)
1 - create a new file within our new target
and name it LiveActivityManager
The live activity will be made using SwiftUI
Donโt worry itโs not that hard
You can also get some help from llm but it's also a nice occasion to start learning something new.