format and fix
This commit is contained in:
@@ -75,6 +75,8 @@ class ZTimelineView extends StatelessWidget {
|
||||
: ZTimelineConstants.minContentWidth;
|
||||
|
||||
return ListView.builder(
|
||||
physics: const NeverScrollableScrollPhysics(),
|
||||
shrinkWrap: true,
|
||||
itemCount: groups.length,
|
||||
itemBuilder: (context, index) {
|
||||
final group = groups[index];
|
||||
@@ -128,6 +130,7 @@ class _GroupHeader extends StatelessWidget {
|
||||
final scheme = Theme.of(context).colorScheme;
|
||||
return Container(
|
||||
height: height,
|
||||
padding: const EdgeInsets.only(left: 16.0),
|
||||
alignment: Alignment.centerLeft,
|
||||
decoration: BoxDecoration(
|
||||
color: scheme.surfaceContainerHighest,
|
||||
|
||||
Reference in New Issue
Block a user