This commit is contained in:
Patrick Alvin Alcala 2025-02-19 15:28:53 +08:00
parent 5f38ce753f
commit 8d4eb1f728
12 changed files with 102 additions and 20 deletions

View file

@ -11,27 +11,27 @@ class MenuWidget2 extends StatelessWidget {
final String description;
final List<Color> blue = [
const Color.fromRGBO(59, 101, 156, 1),
const Color.fromRGBO(59, 101, 156, 1),
const Color.fromRGBO(59, 156, 156, 1),
const Color.fromRGBO(59, 101, 156, 0.8),
const Color.fromRGBO(59, 101, 156, 0.8),
const Color.fromRGBO(59, 156, 156, 0.8),
];
final List<Color> green = [
const Color.fromRGBO(59, 156, 103, 1),
const Color.fromRGBO(59, 156, 103, 1),
const Color.fromRGBO(122, 182, 70, 1),
const Color.fromRGBO(59, 156, 103, 0.8),
const Color.fromRGBO(59, 156, 103, 0.8),
const Color.fromRGBO(122, 182, 70, 0.8),
];
final List<Color> red = [
const Color.fromRGBO(156, 59, 59, 1),
const Color.fromRGBO(164, 62, 62, 1),
const Color.fromRGBO(186, 120, 70, 1),
const Color.fromRGBO(156, 59, 59, 0.8),
const Color.fromRGBO(164, 62, 62, 0.8),
const Color.fromRGBO(186, 120, 70, 0.8),
];
final List<Color> yellow = [
const Color.fromRGBO(156, 156, 59, 1),
const Color.fromRGBO(156, 156, 59, 1),
const Color.fromRGBO(104, 156, 59, 1),
const Color.fromRGBO(156, 156, 59, 0.8),
const Color.fromRGBO(156, 156, 59, 0.8),
const Color.fromRGBO(104, 156, 59, 0.8),
];
MenuWidget2({super.key, required this.text, required this.description, this.icon, this.onPressed, this.color});