criada alguns widgets padrões e ajustada a tela de login

This commit is contained in:
Reginaldo
2023-03-21 18:13:54 -03:00
parent 02b9468422
commit 25a5cb6f15
10 changed files with 233 additions and 76 deletions

View File

@@ -0,0 +1,26 @@
import 'package:flutter/material.dart';
import 'package:rkm/utils/color_palette.dart';
class TextDefault extends StatelessWidget {
String text;
double fontSize;
Color color;
TextDefault({
required this.text,
this.fontSize = 20.0,
this.color = ColorPalette.border
});
@override
Widget build(BuildContext context) {
return Text(
text,
style: TextStyle(
fontSize: fontSize,
color: color
),
);
}
}