今天,升级我的颤振sdk为2.8和我的小部件中断
颤振SDK2.5:材料班纳超越了我的UI 我在FlatorSDK2.5中的UI
颤振SDK2.8:材料横幅取代我的UI 我在颤振sdk 2.8中的UI
颤振医生
跑动的医生..。医生摘要(要查看所有细节,请运行“颤振医生”-v):
无问题发现!
示例代码
对不起,我的密码
发布于 2021-12-10 18:45:01
试着给横幅一个elevation。根据2021年9月发生的变化
/// If this property is null, then [MaterialBannerThemeData.elevation] of
/// [ThemeData.bannerTheme] is used, if that is also null, the default value is 0.
/// If the elevation is 0, the [Scaffold]'s body will be pushed down by the
/// MaterialBanner when used with [ScaffoldMessenger].变化是这里。
https://stackoverflow.com/questions/70308212
复制相似问题