mix icon indicating copy to clipboard operation
mix copied to clipboard

Documentation: Punch up example app, use in documentation

Open rickbsgu opened this issue 3 years ago • 1 comments

Not really an issue, but a progress report.

I've been looking over Souvik Biswas example app (https://github.com/sbis04/mix-design-samples), which provides good examples but isn't intuitive to use.

I've punched that up a bit (improved it) and made it much easier to use. My fork is here: https://github.com/rickbsgu/mix-design-samples, branch is 'rickb-updates'. I added a 'Sample Chooser', a header bar, and a code window to show the code for each sample. Makes it easy for the user to cut and paste.

To tie this in with the documentation, I can paste the code snippets into the docs at appropriate places.

FWIW: I tried using the Mix versions of the widgets, but unfortunately ran into problems. So I implemented it with basic flutter - what I know. I want to revisit and use Mix ('use our own dog food' in Jobs-speak) in the implementation.

Think I'm going to need some help doing that.

rickb

rickbsgu avatar Jan 28 '22 19:01 rickbsgu

I've added the rest of the pertinent examples to this. It's complete as far as the examples that were written, with the exception of the 'component' examples: These show Mix and Mix-less code. That is covered pretty well in the guide documentation.

rickbsgu avatar Feb 18 '22 20:02 rickbsgu