Fakultas Ilmu Komputer UI

styles.dart 1.14 KB
Newer Older
1
2
3
import 'package:flutter/material.dart';

final Color greenPrimary = Color(0xff3A903A);
4
final Color greenPale = Color(0xff4FBA4F);
5
6
final Color redPrimary = Color(0xffC60000);

7
final double superSmallSpace = 4.0;
8
9
final double smallSpace = 4.0;
final double regularSpace = 8.0;
10
final double regularBiggerSpace = 12.0;
11
12
final double doubleSpace = 16.0;
final double tripleSpace = 32.0;
13
final double spaceFourty = 45.0;
14
15
16
17
18
final double quartetSpace = 64.0;
final double spaceFourtyEight = 48.0;

final List<BoxShadow> regularShadow = [
  BoxShadow(
19
20
21
22
    color: Colors.black.withOpacity(0.25),
    blurRadius: 7.0, // has the effect of softening the shadow
    offset: Offset(
      5.0, // horizontal, move right 10
Agnes Handoko's avatar
Agnes Handoko committed
23
      5.0, // vertical, movesn down 10
24
25
    ),
  )
26
];
27
28
29
30
31
32
33
34
35
36
37
38

final List<BoxShadow> smallShadow = [
  BoxShadow(
    color: Colors.black.withOpacity(0.25),
    blurRadius: 2.0, // has the effect of softening the shadow
    offset: Offset(
      1.5, // horizontal, move right 10
      1.5, // vertical, move down 10
    ),
  )
];

39
40
final BorderRadius regularBorderRadius = BorderRadius.circular(10);
final BorderRadius doubleBorderRadius = BorderRadius.circular(20);