Menu

1 / 4

Call controls that match the app: one floating-control component

DEV Community: flutter·Frank Milvus·about 21 hours ago
#2IccNlTW
#devtoflutter#devto#dev#call#keyboard
Reading 0:00
15s threshold

Floating call controls in Flutter get built twice: once for the call screen, and once more for whatever surface shows the call after the user leaves that screen. Ours had been built three times. The live control row was a set of solid grey discs with a red one at the end, the end card used stock Material filled and outlined buttons, and the top-left collapse button was a semi-transparent black circle with a white arrow. Each was individually reasonable. Together they made an active call look like a different app from the one that had started it.

The fix was one circular control component with two accents, plus a keyboard problem in the collapsed window that had nothing to do with styling at all.

Three surfaces, three dialects

The call screen is the most visually exposed state in the app: it covers everything, it usually sits over live video, and the user is holding the phone one-handed while looking at somebody's face.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.