

An interesting little project, it can convert css styles to flutter styles
source link: https://www.tuicool.com/articles/myqmimI
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

C2F is an interesting little project. I hope to find a way to convert css styles to flutter styles. I believe many web developers will like it. https://flutterkit.github.io/c2f/
Statement
For beginners, the flutter style is really hard to remember. You may have to take the trouble to query this comparison table. https://flutter.dev/docs/get-started/flutter-for/web-devs
I want to build a website that converts css styles to flutter style online. I think it should help some web developers.
NOTE
Although I have already written a part of the code, there are still a lot of styles that I have not converted. I very much hope that you can join and participate, sincerely invite
I want to use postcss
to do a lot of things, we can get a style attribute and value, and then do a big mapping table... If you have a better idea, you can implement it together.
Run and build
cd source
Enter source folder
npm start
npm i npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
npm run build
npm run build
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK