All Projects → WangCharlie → Douyin

WangCharlie / Douyin

使用Flutter撸一个抖音国外版,看看有多炫

Programming Languages

dart
5743 projects
dartlang
94 projects

Labels

使用 Flutter 模仿抖音国外版, 本项目持续更新

开源不易,麻烦给个 Star★ 吧(☺️ 右上角点击 ★Star,轻轻松松,一秒钟 🤣)!我会根据大家的关注度和个人时间持续更新代码!

版本

  • 抖音国际版
  • 抖音国内手机版
  • 抖音国内桌面版

抖音截图

Tasks

  • [x] 视频上下播放
  • [x] 数据显示正常
  • [ ] 评论
  • [ ] 搜索
  • [ ] 聊天
  • [ ] 点赞
  • [ ] 分享

Installation

Use the package manager Flutter to install foobar.

Invoke View > Command Palette.
Type "flutter", and select the Flutter: New Project.
Enter a project name, such as myapp, and press Enter.
Create or select the parent directory for the new project folder.
Wait for project creation to complete and the main.dart file to appear.

Usage

class HomeState extends State<Home> {
  int currentIndex = 0;
  PageController pageController;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: PageView(
        controller: pageController,
        children: <Widget>[
          Trending(),
        ],
        onPageChanged: (int index) {
          setState(() {
            currentIndex = index;
          });
        },
      ),
      bottomNavigationBar: bottomItems(currentIndex, pageController),
    );
  }
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Reference

[url]Flutter Tiktok Ui with TikTok unofficial Api

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].