Fakultas Ilmu Komputer UI

Commit 9fa06692 authored by Agnes Handoko's avatar Agnes Handoko
Browse files

[CHORE] fix some code smell and increasing coverage

parent 2e2cc89d
Pipeline #37315 passed with stages
in 5 minutes and 12 seconds
......@@ -2,7 +2,6 @@ import 'package:flutter/material.dart';
final Color greenPrimary = Color(0xff3A903A);
final Color redPrimary = Color(0xffC60000);
final Color bluePrimary = Color(0xff537AC6);
final double smallSpace = 4.0;
final double regularSpace = 8.0;
......
......@@ -89,7 +89,7 @@ class _FasilitasState extends State<Fasilitas> {
disabledTextColor: Colors.black,
padding: EdgeInsets.all(8),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10),
borderRadius: regularBorderRadius,
side: BorderSide(color: Colors.transparent)),
splashColor: Colors.lightGreen,
onPressed: () {
......@@ -125,7 +125,7 @@ class _FasilitasState extends State<Fasilitas> {
disabledTextColor: Colors.black,
padding: EdgeInsets.all(8),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10),
borderRadius: regularBorderRadius,
side: BorderSide(color: Colors.transparent)),
splashColor: Colors.lightGreen,
onPressed: () {
......@@ -194,13 +194,13 @@ class _FasilitasState extends State<Fasilitas> {
],
)),
Icon(Icons.thumb_down,
color: Colors.red[800], size: 20),
color: redPrimary, size: 20),
Text(
'1 tidak suka',
style: TextStyle(
fontSize: 12,
fontWeight: FontWeight.w600,
color: Colors.red[800],
color: redPrimary,
),
),
],
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment