前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >直播短视频系统,沉浸式透明导航

直播短视频系统,沉浸式透明导航

原创
作者头像
yunbaokeji柯基
修改2020-11-13 18:17:44
6670
修改2020-11-13 18:17:44
举报
文章被收录于专栏:直播知识

直播短视频系统,沉浸式透明导航相关的代码

代码语言:javascript
复制
class Body extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Stack(
      children: <Widget>[
        Image.network(
            'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1594978254437&di=0efdd0c88ec953a59059c6b59b83cd94&imgtype=0&src=http%3A%2F%2Ft8.baidu.com%2Fit%2Fu%3D2638456903%2C612126385%26fm%3D193'),
        Scaffold(
          backgroundColor: Colors.transparent,
          appBar: AppBar(
            iconTheme: IconThemeData(color: Colors.white),
            brightness: Brightness.dark,//dart时状态栏颜色为亮色
            backgroundColor: Colors.transparent,
          ),
          body: Column(
            children: <Widget>[
              SizedBox(
                height: 150,
              ),
              Expanded(
                  child: Container(
                width: double.infinity,
                decoration: BoxDecoration(
                    color: Colors.white,
                    borderRadius:
                        BorderRadius.vertical(top: Radius.circular(17))),
                child: Column(
                  children: <Widget>[
                    SizedBox(
                      height: 8,
                    )
                  ],
                ),
              ))
            ],
          ),
        )
      ],
    );
  }
}

以上就是直播短视频系统,沉浸式透明导航相关的代码, 更多内容欢迎关注之后的文章

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档