-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
styles.dart
44 lines (38 loc) · 1.67 KB
/
styles.dart
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import 'package:flutter/material.dart';
class Styles {
static const String appIconPath = 'assets/icon/icon.png';
static final RoundedRectangleBorder cardShape = RoundedRectangleBorder(borderRadius: BorderRadius.circular(10));
static const RoundedRectangleBorder mainCardShape = RoundedRectangleBorder(
borderRadius: BorderRadius.only(
bottomLeft: Radius.circular(35),
bottomRight: Radius.circular(35),
topLeft: Radius.circular(10),
topRight: Radius.circular(10),
),
);
static final RoundedRectangleBorder floatingCardShape =
RoundedRectangleBorder(borderRadius: BorderRadius.circular(20));
static const double cardThreeElevation = 3;
static const double cardTenElevation = 10;
static const edgeInsetAll15 = EdgeInsets.all(15);
static const edgeInsetAll10 = EdgeInsets.all(10);
static const edgeInsetAll5 = EdgeInsets.all(5);
static const edgeInsetAll0 = EdgeInsets.all(0);
static const edgeInsetHorizontal16 = EdgeInsets.symmetric(horizontal: 16);
static const edgeInsetVertical5 = EdgeInsets.symmetric(vertical: 5);
static const modalBottomSheetShape = RoundedRectangleBorder(
borderRadius: BorderRadius.only(
topRight: Radius.circular(35),
topLeft: Radius.circular(35),
),
);
static const modalBottomSheetContainerMargin = EdgeInsets.only(left: 10, right: 10, bottom: 10);
static const modalBottomSheetContainerPadding = EdgeInsets.only(left: 10, right: 10, top: 10);
static const listItemWithIconOffset = Offset(-20, 0);
static const cardItemDetailShape = RoundedRectangleBorder(
borderRadius: BorderRadius.only(
topRight: Radius.circular(30),
topLeft: Radius.circular(30),
),
);
}