y

 avatar
unknown
dart
10 months ago
1.2 kB
9
Indexable
Center(
          child: RichText(
            textAlign: TextAlign.center,
            text: TextSpan(
              text: 'Place the item flat on a well-lit surface\nagainst a   ',
              style: const TextStyle(
                color: Colors.black,
                fontSize: 16,
                height: 1.5,
              ),
              children: <TextSpan>[
                TextSpan(
                  text: 'dark background,',
                  style: TextStyle(
                    fontWeight: FontWeight.bold,
                    color: Colors.black,
                    fontSize: 15,
                    height: 0.8,
                    background: Paint()
                      ..color = Colors.amber
                      ..strokeWidth = 13
                      ..strokeJoin = StrokeJoin.round
                      ..strokeCap = StrokeCap.round
                      ..style = PaintingStyle.stroke
                      ..isAntiAlias = false,
                  ),
                ),
                const TextSpan(
                  text: '  and focus\nthe camera on it',
                ),
              ],
            ),
          ),
        ),
Editor is loading...
Leave a Comment