Reputation: 609
I would like to implement small audio player controlls directly under the AppBar
if an audio is playing. This can be seen in many apps like Telegram.
How to realize that in Flutter? The Player has to be displayed on all Screens!
Like a permanent, sticky one widget.
Upvotes: 0
Views: 684
Reputation: 63559
You can use toolbarHeight
on AppBar
to get extra spaces, and place Column
(any widget based on your need) on title
.
appBar: AppBar(
toolbarHeight: 100,
title: Column(
children: [
Text("title"),
Row(
children: [Icon(Icons.ac_unit)],
)
],
),
),
Upvotes: 1