This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
child: Lottie.network( | |
"https://lottie.host/422c67a2-7f5b-4ef3-a69b-93cde7745af2/jBshJ7zAOp.lottie", | |
decoder: (bytes) => LottieComposition.decodeZip( | |
bytes, | |
filePicker: (files) => files.firstWhere( | |
(f) => f.name.startsWith('animations/') && f.name.endsWith('.json'), | |
orElse: () => files.first, // fallback if structure differs | |
) | |
), | |
fit: BoxFit.contain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const FORMAT_NUMBER_CHARACTER = ','; | |
applyFormattingToInputs('numeric', formatNumeric); | |
applyFormattingToInputs('decimal', formatDecimal); | |
// Function to format input numeric value with a thousand separators | |
function formatNumeric(input) { | |
// Get the input value | |
const inputValue = input.value.toString(); |