implemented the Ticker module with a native ProseMirror document renderer and integrated API support for structured content, navigation trees, and proxied files
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../../../../theming/app_theme.dart';
|
||||
|
||||
/// Shared surface for rendered ticker content so the "Aktuelles" home and the
|
||||
/// sub-pages get identical margin, padding and background tint.
|
||||
class TickerContentCard extends StatelessWidget {
|
||||
final Widget child;
|
||||
|
||||
const TickerContentCard({super.key, required this.child});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => Card(
|
||||
margin: const EdgeInsets.fromLTRB(
|
||||
AppSpacing.sm,
|
||||
AppSpacing.sm,
|
||||
AppSpacing.sm,
|
||||
0,
|
||||
),
|
||||
child: Padding(padding: const EdgeInsets.all(AppSpacing.md), child: child),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user