Point de balle de flottement
Add "\u2022" infront of String
Lazurite
Add "\u2022" infront of String
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Transform.translate(
offset: const Offset(0, -8),
child: const Text(
'•',
style: TextStyle(fontSize: 30),
),
),
const SizedBox(width: kSizeSmall),
Expanded(
child: Text(
title,
style: context.textTheme.bodyText1,
),
),
],
);
class DottedText extends Text {
const DottedText(String data, {
Key key,
TextStyle style,
TextAlign textAlign,
TextDirection textDirection,
Locale locale,
bool softWrap,
TextOverflow overflow,
double textScaleFactor,
int maxLines,
String semanticsLabel,
}) : super(
'\u2022 $data',
key: key,
style: style,
textAlign: textAlign,
textDirection: textDirection,
locale: locale,
softWrap: softWrap,
overflow: overflow,
textScaleFactor: textScaleFactor,
maxLines: maxLines,
semanticsLabel: semanticsLabel,);
}