You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
384 B
20 lines
384 B
import 'package:flutter/material.dart'; |
|
|
|
class FxErrorText extends StatelessWidget { |
|
final String title; |
|
const FxErrorText({ |
|
required this.title, |
|
Key? key, |
|
}) : super(key: key); |
|
|
|
@override |
|
Widget build(BuildContext context) { |
|
return Text( |
|
"Error $title", |
|
style: const TextStyle( |
|
fontSize: 16, |
|
color: Colors.red, |
|
), |
|
); |
|
} |
|
}
|
|
|