2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 02:05:29 +00:00

Refactor colors used in the app

This commit is contained in:
Oliver
2021-07-23 12:57:56 +10:00
parent 7a6457f870
commit 1e4e75dfb7
7 changed files with 63 additions and 17 deletions

View File

@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:inventree/app_colors.dart';
class Spinner extends StatefulWidget {
final IconData? icon;
@ -9,7 +10,7 @@ class Spinner extends StatefulWidget {
final Color color;
const Spinner({
this.color = const Color.fromRGBO(150, 150, 150, 1),
this.color = COLOR_GRAY_LIGHT,
Key? key,
@required this.icon,
this.duration = const Duration(milliseconds: 1800),