Flutter: Difference between revisions

Adham (talk | contribs)
m Fix broken input.
F44 (talk | contribs)
Add node regarding Linux Desktop compilation requirements.
Line 8: Line 8:


To build Flutter apps to Linux desktop or Web you only need the <code>flutter</code> package from Nixpkgs.
To build Flutter apps to Linux desktop or Web you only need the <code>flutter</code> package from Nixpkgs.
Then run <code>flutter build linux</code> or <code>flutter build web</code>.
Then run <code>flutter build linux</code> or <code>flutter build web</code>. Ensure that <code>pkg-config</code> is installed on your system, either through a development shell or directly on the base system. Not having <code>pkg-config</code> available may result in compilation errors.


=== Android ===
=== Android ===