Flutter: Implementing a push-to-talk button

Crizant Lai
CodeX
Published in
5 min readFeb 5

--

Recently I have implemented a push-to-talk button in my app. This article will outline some of the issues I encountered and how I ended up solving them. You might think: How hard can a push-to-talk button be? But believe me, it’s trickier than you think.

The UI of my app is simple, just a button with a microphone icon in the middle of the screen. When the user press and hold it, the app…

--

--

Crizant Lai
CodeX
Writer for

A JavaScript/Node/Flutter developer who love technical stuffs.