build static method
Returns the Widgets of this SoundsSection.
Implementation
static List<Widget> build() {
final List<({String title, bool once})> sounds = [
(title: 'incoming_call', once: false),
(title: 'incoming_call_web', once: false),
(title: 'outgoing_call', once: false),
(title: 'reconnect', once: false),
(title: 'message_sent', once: true),
(title: 'notification', once: true),
(title: 'pop', once: true),
];
return [
Headline(
headline: 'Sounds',
child: BuilderWrap(
sounds,
(e) => PlayableAsset(e.title, once: e.once),
dense: true,
),
),
];
}