Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (17 sloc) 391 Bytes
import 'package:flutter/material.dart';
class EchoWidegt extends StatelessWidget {
const EchoWidegt({
@required this.text,
this.backgroundColor,
});
final String text;
final Color backgroundColor;
@override
Widget build(BuildContext context) {
return Center(
child: Container(
color: this.backgroundColor,
child: Text(this.text),
));
}
}
You can’t perform that action at this time.