20 lines
414 B
Dart
20 lines
414 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class FooterElement extends StatelessWidget {
|
|
const FooterElement({super.key, required this.color, required this.text});
|
|
|
|
final Color color;
|
|
final String text;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Text(
|
|
text,
|
|
style: TextStyle(
|
|
color: color,
|
|
fontWeight: FontWeight(400),
|
|
fontSize: 10,
|
|
),
|
|
);
|
|
}
|
|
} |