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

@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:rkm/utils/color_palette.dart';
class ButtonDefault extends StatelessWidget {
var onPressed;
String title;
@@ -8,8 +9,8 @@ class ButtonDefault extends StatelessWidget {
ButtonDefault({
required this.onPressed,
required this.title,
this.background = Colors.black38,
this.textColor = Colors.white
this.background = ColorPalette.primary,
this.textColor = ColorPalette.white
});
@override