y

mail@pastecode.io avatar
unknown
dart
8 days ago
1.2 kB
1
Indexable
Never
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',
                ),
              ],
            ),
          ),
        ),
Leave a Comment