正在加载视频...

视频加载失败

I'm really enjoying this workflow. UI Creation: 11 Minutes Animations + State: 18 minutes Integrate into Code: 2 minutes Result 👇

23,189 次观看 • 2 年前 •via X (Twitter)

11 条评论

Roman 的头像
Roman2 年前

can someone share the example project and Rive file?

Dane Mackier 的头像
Dane Mackier2 年前

The code above is from my app going to stores so it won't be publicly available yet. But in this repo there's an example that comes with the package I'm building to work like this.

Michael Ushemu O 的头像
Michael Ushemu O2 年前

Code please

Dane Mackier 的头像
Dane Mackier2 年前

This is from my app that's going to the store. The code you can see in the video, it's only about 8 lines of code so you should be able to copy it out and put it in your own project. You won't have my Rive File for the UI, but you can check the example in the repo to see how it all fits together.

Babak Morshedizadeh 的头像
Babak Morshedizadeh2 年前

Nice, that’s how I used to do gwt apps

Ralph Ordanza 的头像
Ralph Ordanza2 年前

That's awesome 💯 How does it look in different screen sizes tho?

Dane Mackier 的头像
Dane Mackier2 年前

Good question. In this case it'll look exactly the same on tablet vs desktop. But if I wanted it to be different I would create an artboard per form-factor. How framer does it. Like this.

Mr Nicolas Jackson't ⚽ 的头像
Mr Nicolas Jackson't ⚽2 年前

The ease >>>

Dane Mackier 的头像
Dane Mackier2 年前

Toooo easy 👌

Hashem 💙 的头像
Hashem 💙2 年前

Good job, but how you make the UI responsive? In Rive the canvas size if fixed, but in Flutter canvas size can change.

Dane Mackier 的头像
Dane Mackier2 年前

Thank you. I'll use the same approach as Framer does. An artboard per form factor. Here's a working example.

相关视频