mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
16 lines
531 B
Dart
16 lines
531 B
Dart
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);
|
|
},
|
|
),
|
|
);
|
|
}
|