mirror of
https://github.com/hanskokx/arcane_framework.git
synced 2026-05-14 02:19:08 +02:00
Breaking up example into smaller widgets
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import "package:flutter/material.dart";
|
||||
|
||||
enum Feature {
|
||||
logging(true),
|
||||
authentication(true),
|
||||
@@ -6,3 +8,14 @@ enum Feature {
|
||||
final bool 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
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user