fix: Adapt to Flutter 3.47 (#3995)