Updated microphone icon size

This commit is contained in:
Moe Poi ~ 2021-09-03 11:51:15 +07:00
parent 3723ea7e57
commit a410bd1e5e

View file

@ -183,14 +183,14 @@ class _ContentState extends State<Content> {
valueListenable: isRecording, valueListenable: isRecording,
builder: (context, value, widget) { builder: (context, value, widget) {
if (value == false) { if (value == false) {
return CustomButton(name: 'microphone', size: 190.0, navigator: () { return CustomButton(name: 'microphone', size: 170.0, navigator: () {
isRecording.value = true; isRecording.value = true;
setState(() { setState(() {
getResult(); getResult();
}); });
}); });
} else { } else {
return CustomButton(name: 'microphone', size: 190.0, navigator: () { return CustomButton(name: 'microphone', size: 170.0, navigator: () {
TfliteAudio.stopAudioRecognition(); TfliteAudio.stopAudioRecognition();
}); });
} }