mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
opt: HeaderLayout with SlottedMultiChild (#1850)
* opt: HeaderLayout with SlottedMultiChild * ordered * update [skip ci]
This commit is contained in:
committed by
GitHub
parent
b55e102dc3
commit
6782bee11a
@@ -481,20 +481,9 @@ class UserInfoCard extends StatelessWidget {
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
HeaderLayoutWidget(
|
||||
children: [
|
||||
LayoutId(
|
||||
id: HeaderType.header,
|
||||
child: _buildHeader(context, colorScheme, isLight, width),
|
||||
),
|
||||
LayoutId(
|
||||
id: HeaderType.avatar,
|
||||
child: _buildAvatar,
|
||||
),
|
||||
LayoutId(
|
||||
id: HeaderType.actions,
|
||||
child: _buildRight(colorScheme),
|
||||
),
|
||||
],
|
||||
header: _buildHeader(context, colorScheme, isLight, width),
|
||||
avatar: _buildAvatar,
|
||||
actions: _buildRight(colorScheme),
|
||||
),
|
||||
const SizedBox(height: 5),
|
||||
..._buildLeft(context, colorScheme, isLight),
|
||||
|
||||
Reference in New Issue
Block a user