Login i18n and color changes
This commit is contained in:
@@ -70,7 +70,7 @@ class _LinesGraphWidgetState extends State<LinesGraphWidget> {
|
||||
List<Series<double, num>> series = [
|
||||
Series<double, int>(
|
||||
id: 'Gasto',
|
||||
colorFn: (_, __) => MaterialPalette.blue.shadeDefault,
|
||||
colorFn: (_, __) => MaterialPalette.purple.shadeDefault,
|
||||
domainFn: (value, index) => index,
|
||||
measureFn: (value, _) => value,
|
||||
data: widget.data,
|
||||
|
||||
@@ -122,14 +122,14 @@ class _MonthWidgetState extends State<MonthWidget> {
|
||||
),
|
||||
trailing: Container(
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.blueAccent.withOpacity(0.2),
|
||||
color: Theme.of(context).primaryColor.withOpacity(0.2),
|
||||
borderRadius: BorderRadius.circular(5.0),
|
||||
),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
child: Text("\$$value",
|
||||
style: TextStyle(
|
||||
color: Colors.blueAccent,
|
||||
color: Theme.of(context).primaryColor,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontSize: 16.0,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user