通过getSafeAreaPadding获取顶部(状态栏)与底部(虚拟操作键)的安全区域距离
import { getSafeAreaPadding } from 'flutter-app-jssdk'; const {top, bottom} = await getSafeAreaPadding(); console.log(top, bottom);
← App导航栏 发送自定义消息 →