mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-29 23:20:03 +03:00
17 lines
369 B
Dart
17 lines
369 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class SmallWhiteText extends StatelessWidget {
|
|
final String _text;
|
|
|
|
const SmallWhiteText(this._text, {super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) => Text(
|
|
_text,
|
|
style: Theme.of(context)
|
|
.textTheme
|
|
.bodySmall
|
|
?.copyWith(color: Colors.white),
|
|
);
|
|
}
|