mirrored_repositories/lifeclass/lib/pages/content/lessons
import 'package:flutter/material.dart';
import 'package:lifeclass/classes/clsListItemTextSpanAttributes.dart';
import 'package:lifeclass/pages/content/lessons/components/ListItemTextSpan.dart';

class ListTextSpanBoxWrapper extends StatelessWidget {
  final List<clsListItemTextSpanAttributes> listItemData;
  const ListTextSpanBoxWrapper({super.key,required this.listItemData});
  @override
  Widget build(BuildContext context) {
    return Column(
        children:[ Padding(
          padding: EdgeInsets.all(10),
          child: Container(
            //decoration: BoxDecoration(color: (listItemData[0].isDarkMode? Colors.black26:Colors.grey),borderRadius: BorderRadius.circular(15)),
            child: Padding(
              padding: EdgeInsets.symmetric(vertical: 10.0),
              child: Column(
                children: [
                  ListItemTextSpan(listItemData: listItemData)
                ],
              ),
            ),
          ),
        ),
          SizedBox(height: 0,),
        ]
    );
  }
}
