mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-25 03:26:22 +08:00
opt dyn panel
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
15
lib/pages/dynamics/widgets/blocked_item.dart
Normal file
15
lib/pages/dynamics/widgets/blocked_item.dart
Normal file
@@ -0,0 +1,15 @@
|
||||
import 'package:PiliPlus/models/dynamics/result.dart' show ModuleBlocked;
|
||||
import 'package:PiliPlus/pages/article/widgets/opus_content.dart'
|
||||
show moduleBlockedItem;
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
Widget blockedItem(ThemeData theme, ModuleBlocked moduleBlocked) {
|
||||
return Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 13, vertical: 1),
|
||||
child: LayoutBuilder(
|
||||
builder: (context, constraints) {
|
||||
return moduleBlockedItem(theme, moduleBlocked, constraints.maxWidth);
|
||||
},
|
||||
),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user