Breaking up example into smaller widgets

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2025-04-30 15:04:14 +02:00
parent 2f18c4213f
commit 68ce73abf5
2 changed files with 517 additions and 489 deletions
+13
View File
@@ -1,3 +1,5 @@
import "package:flutter/material.dart";
enum Feature { enum Feature {
logging(true), logging(true),
authentication(true), authentication(true),
@@ -6,3 +8,14 @@ enum Feature {
final bool enabledAtStartup; final bool enabledAtStartup;
const Feature(this.enabledAtStartup); const Feature(this.enabledAtStartup);
} }
// Some colors we'll use for our example
const List<MaterialColor> colors = [
Colors.red,
Colors.orange,
Colors.yellow,
Colors.green,
Colors.blue,
Colors.purple,
Colors.deepPurple,
];
+504 -489
View File
File diff suppressed because it is too large Load Diff