|
|
@ -4,18 +4,20 @@ class QuillBulletPoint extends StatelessWidget { |
|
|
|
const QuillBulletPoint({ |
|
|
|
const QuillBulletPoint({ |
|
|
|
required this.style, |
|
|
|
required this.style, |
|
|
|
required this.width, |
|
|
|
required this.width, |
|
|
|
|
|
|
|
this.padding = 0, |
|
|
|
Key? key, |
|
|
|
Key? key, |
|
|
|
}) : super(key: key); |
|
|
|
}) : super(key: key); |
|
|
|
|
|
|
|
|
|
|
|
final TextStyle style; |
|
|
|
final TextStyle style; |
|
|
|
final double width; |
|
|
|
final double width; |
|
|
|
|
|
|
|
final double padding; |
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
@override |
|
|
|
Widget build(BuildContext context) { |
|
|
|
Widget build(BuildContext context) { |
|
|
|
return Container( |
|
|
|
return Container( |
|
|
|
alignment: AlignmentDirectional.topEnd, |
|
|
|
alignment: AlignmentDirectional.topEnd, |
|
|
|
width: width, |
|
|
|
width: width, |
|
|
|
padding: const EdgeInsetsDirectional.only(end: 13), |
|
|
|
padding: EdgeInsetsDirectional.only(end: padding), |
|
|
|
child: Text('•', style: style), |
|
|
|
child: Text('•', style: style), |
|
|
|
); |
|
|
|
); |
|
|
|
} |
|
|
|
} |
|
|
|