configuração inicial Flutter

This commit is contained in:
Reginaldo
2023-03-21 14:36:36 -03:00
parent 6b4344f5b7
commit 02b9468422
131 changed files with 4470 additions and 6 deletions

View File

@@ -0,0 +1,28 @@
import 'package:flutter/material.dart';
class ButtonDefault extends StatelessWidget {
var onPressed;
String title;
Color background;
Color textColor;
ButtonDefault({
required this.onPressed,
required this.title,
this.background = Colors.black38,
this.textColor = Colors.white
});
@override
Widget build(BuildContext context) {
return TextButton(
onPressed: onPressed,
style: TextButton.styleFrom(
backgroundColor: background,
foregroundColor: textColor,
),
child: Text(
title
)
);
}
}