Better Member List #36
1 changed files with 8 additions and 4 deletions
add some more padding
commit
bb6f0d4c3b
|
|
@ -78,11 +78,14 @@ class MemberList extends HookConsumerWidget {
|
||||||
compare: (a, b) => (b?.key ?? double.infinity)
|
compare: (a, b) => (b?.key ?? double.infinity)
|
||||||
.compareTo(a?.key ?? double.infinity),
|
.compareTo(a?.key ?? double.infinity),
|
||||||
)) ...[
|
)) ...[
|
||||||
DividerText(
|
Padding(
|
||||||
|
padding: EdgeInsets.symmetric(horizontal: 4),
|
||||||
|
child: DividerText(
|
||||||
powerLevel == null
|
powerLevel == null
|
||||||
? "Creators"
|
? "Creators"
|
||||||
: "Power Level $powerLevel",
|
: "Power Level $powerLevel",
|
||||||
),
|
),
|
||||||
|
),
|
||||||
SegmentedListSection(
|
SegmentedListSection(
|
||||||
children: members
|
children: members
|
||||||
.map(
|
.map(
|
||||||
|
|
@ -123,6 +126,7 @@ class MemberList extends HookConsumerWidget {
|
||||||
)
|
)
|
||||||
.toList(),
|
.toList(),
|
||||||
),
|
),
|
||||||
|
SizedBox(height: 4),
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue