Small orion merge
This commit is contained in:
parent
8161b23755
commit
7b8cb39567
@ -60,7 +60,7 @@ class Category {
|
|||||||
}
|
}
|
||||||
|
|
||||||
double leftPadding() {
|
double leftPadding() {
|
||||||
return hasParent() ? 50.0 : 20.0;
|
return hasParent() ? 30.0 : 15.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
CategoryData data() {
|
CategoryData data() {
|
||||||
|
|||||||
@ -82,18 +82,16 @@ class CategoryRow extends StatelessWidget {
|
|||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
Container(
|
Container(
|
||||||
constraints: BoxConstraints(maxHeight: 100, maxWidth: 50),
|
constraints: BoxConstraints(maxHeight: 75, maxWidth: 50),
|
||||||
color: category.backgroundColor,
|
color: category.backgroundColor,
|
||||||
child: SizedBox.expand(
|
child: Center(
|
||||||
child: Center(
|
child: Text(
|
||||||
child: Text(
|
style: TextStyle(
|
||||||
style: TextStyle(
|
fontWeight: FontWeight.bold,
|
||||||
fontWeight: FontWeight.bold,
|
color: category.foregroundColor,
|
||||||
color: category.foregroundColor,
|
fontSize: 18,
|
||||||
fontSize: 18,
|
),
|
||||||
),
|
category.number.toString())),
|
||||||
category.number.toString())),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Padding(
|
child: Padding(
|
||||||
@ -115,6 +113,7 @@ class CategoryRow extends StatelessWidget {
|
|||||||
color: Colors.white38,
|
color: Colors.white38,
|
||||||
),
|
),
|
||||||
"${category.description}",
|
"${category.description}",
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user