29 lines
728 B
Dart
29 lines
728 B
Dart
import 'package:citycards_customer/common_packages/custom_text.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
class CustomBulletPoints extends StatelessWidget {
|
|
final Color textColor;
|
|
final String text;
|
|
|
|
const CustomBulletPoints({
|
|
super.key,
|
|
required this.textColor,
|
|
required this.text,
|
|
});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Row(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
CustomText(text: "•", size: 14.sp, color: textColor),
|
|
SizedBox(width: 8.w),
|
|
Expanded(
|
|
child: CustomText(text: text, color: textColor, size: 14.sp),
|
|
),
|
|
],
|
|
);
|
|
}
|
|
}
|