Skip to content

Instantly share code, notes, and snippets.

Flutter Native

So you think React Native is better than Flutter because it uses native UI elements instead of rendering everything itself? Well, then let’s build the same thing for Flutter. I'll do it for macOS. Feel free to do it yourself for your platform instead.

Project Setup

Start like this.

flutter create --platforms=macos --empty flutter_native
@adaswordlace
adaswordlace / fingerguns.zsh-theme
Last active April 24, 2026 14:24
ZSH prompt with finger guns 👉 😎 👉 (requires emoji support)
# Don't forget to set COMPLETION_WAITING_DOTS=false in your .zshrc - it doesn't always play nice with multiline prompts
# Troubleshooting breadcrumbs:
# Prompt design: http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html#Prompt-Expansion
# Zsh Line Editor (zle): http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html
#Broken down into its component pieces because I was tired of looking at a nearly incomprehensible string
FG_USER_BADGE=$'%{$fg_bold[green]%}%n@%m%{$reset_color%}'
FG_TIMESTAMP=$'%{$fg[blue]%}%D{[%X]}%{$reset_color%}'
FG_CWD_DISPLAY=$'%{$fg[white]%}[%~]%{$reset_color%}'