Files
sendico/frontend/pweb/lib/widgets/password/hint/error.dart
2025-11-13 15:06:15 +03:00

23 lines
573 B
Dart

import 'package:flutter/material.dart';
import 'package:pweb/widgets/password/hint/widget.dart';
class PasswordValidationErrorLabel extends StatelessWidget {
final String labelText;
const PasswordValidationErrorLabel({super.key, required this.labelText});
@override
Widget build(BuildContext context) {
return PasswordValidationOutput(
children: [
Text(
labelText,
style: Theme.of(context).textTheme.bodySmall?.copyWith(
color: Theme.of(context).colorScheme.error,
)
),
],
);
}
}