Updated microphone icon size
This commit is contained in:
parent
3723ea7e57
commit
a410bd1e5e
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue