Primeiro commit no ramo main

This commit is contained in:
Reginaldo
2023-11-06 15:00:41 -03:00
commit e1df293d0c
96 changed files with 2992 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
import 'package:flutter/material.dart';
import '../utils/cores.dart';
class TextCustom extends StatelessWidget {
final text;
final size;
final color;
final fontWeight;
final textAlign;
final maxLines;
TextCustom({
required this.text,
this.size = 16.0,
this.color = PaletaCores.cinza,
this.fontWeight = FontWeight.normal,
this.textAlign = TextAlign.start,
this.maxLines = 1,
});
@override
Widget build(BuildContext context) {
return Text(
text,
overflow: TextOverflow.ellipsis,
textAlign: textAlign,
style: TextStyle(
overflow: TextOverflow.ellipsis,
color: color,
fontSize: size,
fontWeight: fontWeight,
decorationThickness: 4,
fontFamily: 'Nunito',
decoration: TextDecoration.none
),
maxLines: maxLines,
);
}
}