GithubHelp home page GithubHelp logo

telsav / douyin Goto Github PK

View Code? Open in Web Editor NEW
623.0 24.0 133.0 373.8 MB

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

Home Page: https://www.cnblogs.com/fengqingyangNo1/

Kotlin 0.08% Swift 0.40% Objective-C 0.43% Dart 42.69% Makefile 14.96% Java 36.93% Shell 0.13% C++ 3.75% C 0.31% Batchfile 0.31%
flutter douyin tiktok dart dartlang

douyin's Introduction

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

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

新项目位置:https://github.com/telsacoin/telsavideo 后台采用SpringCloud +IPFS存储+BSC链

版本

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

抖音截图

Tasks

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

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

douyin's People

Contributors

telsav avatar wangcharlie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

douyin's Issues

问问大佬关于flutter window版本的构建问题

Launching lib\main.dart on Windows in debug mode...
Exception: Unable to find suitable Visual Studio toolchain. Please run `flutter doctor` for more details.
E:\Android\flutter_master\bin\flutter.bat doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, 1.22.0-10.0.pre.281, on Microsoft Windows [Version 10.0.19041.508], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Chrome - develop for the web
[!] Visual Studio - develop for Windows (Visual Studio Community 2019 16.6.0)
    X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop
      development with C++" workload, and include these components:
        MSVC v142 - VS 2019 C++ x64/x86 build tools
         - If there are multiple build tool versions available, install the latest
        C++ CMake tools for Windows
        Windows 10 SDK
[√] Android Studio (version 4.0)
[√] IntelliJ IDEA Ultimate Edition (version 2019.3)
[√] Connected device (5 available)
! Doctor found issues in 1 category.

请问大佬, 构建window应用必须使用 Visual Studio 吗? VS Code不行吗?

跑不起来 报这个错

/E:/flutter/.pub-cache/hosted/pub.flutter-io.cn/getflutter-1.0.11/lib/components/appbar/gf_appbar.dart:311:57: Error: No named parameter with the name 'nullOk'.
final ScaffoldState scaffold = Scaffold.of(context, nullOk: true);
^^^^^^
/E:/flutter/packages/flutter/lib/src/material/scaffold.dart:1928:24: Context: Found this candidate, but the arguments don't match.
static ScaffoldState of(BuildContext context) {
^^

FAILURE: Build failed with an exception.

  • Where:
    Script 'E:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1000

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'E:\flutter\bin\flutter.bat'' finished with non-zero exit value 1

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 19s

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.