Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| mobile:flutter [2023/02/24 01:11] – créée jcheron | mobile:flutter [2023/02/24 01:29] (Version actuelle) – [Thèmes spécifiques] jcheron | ||
|---|---|---|---|
| Ligne 11: | Ligne 11: | ||
| ===== Hello World ===== | ===== Hello World ===== | ||
| - | < | + | < |
| // Copyright 2018 The Flutter team. All rights reserved. | // Copyright 2018 The Flutter team. All rights reserved. | ||
| // Use of this source code is governed by a BSD-style license that can be | // Use of this source code is governed by a BSD-style license that can be | ||
| Ligne 92: | Ligne 92: | ||
| ==== Ajout de package ==== | ==== Ajout de package ==== | ||
| + | <sxh bash; | ||
| flutter pub add english_words | flutter pub add english_words | ||
| - | Mise à jour | + | </ |
| + | ==== Mise à jour ==== | ||
| + | <sxh bash; | ||
| flutter pub get | flutter pub get | ||
| - | Liste des librairies | + | </ |
| + | ==== Liste des librairies | ||
| https:// | https:// | ||
| - | Incorparation | + | ==== Incorparation |
| - | lib/ | + | <sxh java;title:lib/ |
| import ' | import ' | ||
| - | Compilation | + | </ |
| - | Ajout du support Desktop à un projet existant : | + | ===== Compilation ===== |
| + | Ajout du support Desktop à un projet existant : | ||
| + | <sxh bash; | ||
| flutter create --platforms=windows, | flutter create --platforms=windows, | ||
| - | Formattage du code | + | </ |
| + | ==== Formattage du code ==== | ||
| + | <sxh bash; | ||
| dart format bin lib | dart format bin lib | ||
| - | Build pour le web : | + | </ |
| + | ==== Build pour le web : ==== | ||
| + | <sxh bash; | ||
| flutter build web | flutter build web | ||
| - | Thèmes spécifiques | + | </ |
| - | State management | + | ===== Thèmes spécifiques |
| - | Navigation | + | |
| - | Solutions de persistance | + | |
| - | Firebase authentification | + | |
| - | Structure de projet | + | * [[https:// |
| - | Voir Flutter project structure | + | ===== Structure de projet |
| + | |||
| + | Voir [[https:// | ||
| + | |||
| + | ===== Liens ===== | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | ==== Packages ==== | ||
| - | Liens | + | * https:// |
| - | Packages indispensables | + | |
| - | Génération des models | + | |
| - | GetWidget | + | |
| - | Flutter awesome | + | |
| - | Packages | + | |
| - | https:// | + | |
| - | https:// | + | |
| - | https:// | + | |
| - | https:// | + | |
| - | https:// | + | |
| - | https:// | + | |
| - | https:// | + | |