menu
fancy_audio_recorder package
documentation
utils.dart
formatDuration function
formatDuration function
dark_mode
light_mode
formatDuration
function
String
formatDuration
(
Duration
?
duration
)
Implementation
String formatDuration(Duration? duration) { return duration?.toString().split('.').first ?? ''; }
fancy_audio_recorder package
documentation
utils
formatDuration function
utils library