dartlangeditorflutterflutter-appsflutter-examplesflutter-packageflutter-widgetquillquill-deltaquilljsreactquillrich-textrich-text-editorwysiwygwysiwyg-editor
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
504 B
23 lines
504 B
4 years ago
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
class QuillBulletPoint extends StatelessWidget {
|
||
|
const QuillBulletPoint({
|
||
|
required this.style,
|
||
|
required this.width,
|
||
|
Key? key,
|
||
|
}) : super(key: key);
|
||
|
|
||
|
final TextStyle style;
|
||
|
final double width;
|
||
|
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return Container(
|
||
|
alignment: AlignmentDirectional.topEnd,
|
||
|
width: width,
|
||
|
padding: const EdgeInsetsDirectional.only(end: 13),
|
||
|
child: Text('•', style: style),
|
||
|
);
|
||
|
}
|
||
|
}
|