|
|
|
|
@ -7,7 +7,7 @@ import 'package:flutter/material.dart';
|
|
|
|
|
// ignore: must_be_immutable
|
|
|
|
|
class Label extends StatelessWidget {
|
|
|
|
|
Label({
|
|
|
|
|
Key key, this.firstLine, this.secondLine, this.color, this.secondLineFontSize, this.firstLineFontSize,
|
|
|
|
|
Key key, this.firstLine, this.secondLine, this.color= const Color(0xFF2E303A), this.secondLineFontSize, this.firstLineFontSize,
|
|
|
|
|
}) : super(key: key);
|
|
|
|
|
final String firstLine;
|
|
|
|
|
final String secondLine;
|
|
|
|
|
@ -17,9 +17,7 @@ class Label extends StatelessWidget {
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
if(color == null) {
|
|
|
|
|
color = Color(0xFF2E303A);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return Column(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
|