flutter 2.0 web demo

Overview

web_demo

Flutter 2.0 快速构建的一个站点样例

更多精彩,请关注官方微信公众号: Oldbirds

安装

  1. git clone https://github.com/swiftdo/web-demo

  2. 安装 fvm 工具: leoafarias/fvm

  3. 运行

    $ cd web-demo
    $ fvm install
    $ fvm flutter run -d Chrome

    有跨域问题,可关注配套课程解决

配套课程

web 开发存在的一些问题

1.包体积太大

可通过编译选项控制,【编译渲染项】

2.手机端滑动太卡

待解决

3.中文显示有问题

flutter bug, 解决进度可关注:Load fonts as soon as detecting browser locale

4.页面刷新,或者指定url 无法打开页面

跟 url 策略有关

  • HashUrlStrategy,hash 路由,带有#, 可直接 github 静态托管
  • PathUrlStrategy, histroy 路由,也可以直接github托管,但是刷新页面会出问题,此类,需要 nginx 做个配置,单页面实际上只有一个页面index.html,因此将所有的页面都rewirte到index页面,即可完成配置
location @router {
    rewrite ^.*$ /index.html break;
} 
You might also like...

Starter app for Flutter that includes many different production app features; some not typically included in demo apps.

first_app: Starter app for a Flutter production app Maintainer: Greger Wedel, https://github.com/gregertw Listed on: Latest build and artifacts: ** La

Dec 28, 2022

Flutter theme demo using riverpod and shared preferences

flutter_theme_demo A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you start

Dec 27, 2021

A Flutter MVVM provider demo application.

A Flutter MVVM provider demo application.

Flutter MVVM + Provider Demo A Flutter MVVM provider demo application. Demo About It simply loads Posts data from API and render the posts on the scre

Oct 17, 2022

flutter demo + small changes

demo3 A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this is

Nov 23, 2021

A Demo application📱 which stores User feedback from 💙Flutter application into Google Sheets🗎 using Google AppScript.

A Demo application📱  which stores User feedback from 💙Flutter application into Google Sheets🗎 using Google AppScript.

📱 Flutter 💙 to Google Sheets 📊 A Demo application which stores User feedback from Flutter application into Google Sheets using Google AppScript. Yo

Dec 28, 2022

Demo project to implement MVU architecture in a Flutter application

flutter_mvu A playground project for implementing MVU in Flutter CICD Automated

Dec 16, 2021

Flutter demo for internationalization.

Localizing your application 1. Introduction We are going to localize our application using the intl package. This guide is based on Flutter Docs - Int

Dec 23, 2021

"Login Demo" app which shows how to use google sign in Android and iOS using Flutter.

⚠️ ARCHIVED: This repository is using Flutter 1.7 for the sample app. You can find the latest version of the similar implementation on this new repo.

Dec 2, 2022

The app to demo animation with Flutter by implement Facebook reactions

The app to demo animation with Flutter by implement Facebook reactions

Facebook Reactions Animation Description The app to demo animation with Flutter by implement Facebook reactions. Watch the demo video for more clarity

Dec 30, 2022
Owner
swiftdo
oldbirds 官方公众号,swift club vapor ios forum. swift 社区
swiftdo
Demo of web banner in Flutter

web_carousel How to implement a Web Banner the right way in Flutter. Screenshots Desk: Mobile: Medium Article Here is the Medium Article via the frien

Fred Grott 0 Mar 18, 2022
Liquify your buttons, web demo at website

Hi, Introducing Liquid Button for Flutter. It supports Web and Mobile, not tested on Ios. Inspired by Liquid Button in JS. Preview Live Demo Download

Sahdeep Singh 18 Oct 31, 2021
flutter web app with given code and example. Step by step teaching how to build a flutter web app with backend

flutter_web A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if t

dbestech 20 Oct 26, 2022
Flutter-web-portfolio - A Basic web portfolio built using flutter

My Flutter Web Portfolio It is a basic flutter web portfolio. 1. Home To use thi

Aleyna Eser 2 May 30, 2022
Flutter web socket - Flutter Web Socket Example

web_socket_example A new Flutter Web Socket project. Getx and web_scoket_channel

Gizem Malçok 7 Nov 2, 2022
Trying out Flutter for desktop Web app development as an alternative to SPA frameworks (such as React and Angular) by recreating one of the pages of an existing CV Management web app

HTML Renderer Demo CanvasKit Renderer Demo Reddit discussion This repo contains a PoC of using Flutter as a traditional SPA framework for creating a d

Maxim Saplin 20 Oct 11, 2022
An isolated worker for Flutter (Isolate) and Web (Web Worker). Behaves almost the same as the compute function, except it is not a one-off worker.

A singleton isolated worker for all platforms. On most platforms, it uses Flutter's Isolate, except on the web, since Isolate is not available, it use

Iandi Santulus 30 Nov 11, 2022
A zero-dependency web framework for writing web apps in plain Dart.

Rad Rad is a frontend framework for creating fast and interactive web apps using Dart. It's inspired from Flutter and shares same programming paradigm

null 70 Dec 13, 2022
Flutter RSS feed parsing - A demo application of flutter which parse RSS XML contents to the flutter application

Flutter RSS feed parsing demo This is demo application of flutter which shows ho

Nyakuri Levite 3 Nov 15, 2022