Skip to content

Commit

Permalink
remover null operator
Browse files Browse the repository at this point in the history
  • Loading branch information
RoxyRoses committed Dec 9, 2024
1 parent 0875de3 commit d22543e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class _AudioRecordState
@override
void initState() {
super.initState();
WidgetsBinding.instance?.addPostFrameCallback((timeStamp) async {
WidgetsBinding.instance.addPostFrameCallback((timeStamp) async {
await controller.startAudioRecord();
});

Expand Down

0 comments on commit d22543e

Please sign in to comment.