Slide 1

Slide 1 text

Developing Flutter Applications in Dev Container Environments Consistent, portable Flutter development environment using Dev Containers By Ali Yazdi yazdi.dev linkedin.com/in/aliyazdi75

Slide 2

Slide 2 text

Interrupt me if you have any questions, thanks!

Slide 3

Slide 3 text

A platform that uses OS-level virtualization to deliver software in packages called containers A Docker container image is a lightweight, standalone, executable package of software that includes everything needed to run an application Docker and Containers + +

Slide 4

Slide 4 text

Allows you to use a container as a full-featured development environment A Docker-based development environment defined by a .devcontainer.json file Dev Container + +

Slide 5

Slide 5 text

● A development container defines an environment in which you develop your application before you are ready to deploy ● You may not want to include tools in a deployment image that you use during development Development vs production

Slide 6

Slide 6 text

● Dev container is introduced by Microsoft and first integrated with VS Code ● Workspace files are mounted from the local file system or copied or cloned into the container. Extensions are installed and run inside the container, where they have full access to the tools, platform, and file system. Developing inside a Container

Slide 7

Slide 7 text

How to start cmd/ctrl + shift + P

Slide 8

Slide 8 text

Contains any needed metadata and settings required to configurate a development container https://containers.dev/implementors/json_reference Make devcontainer.json

Slide 9

Slide 9 text

How to finish ● Start docker ● cmd/ctrl + shift + P

Slide 10

Slide 10 text

DEMO

Slide 11

Slide 11 text

Don’t share settings that are personal such as theme or shortcuts Try to use dev environment when it has benefits + Save VS code settings in the shared container such as extensions First setup is a hassle and then enjoy working in devcontainer Summary + + +

Slide 12

Slide 12 text

THANK YOU! v