Actualizacion de Diseño Logins y Parte de Registro Negocios

This commit is contained in:
kquiroz
2023-08-23 16:11:21 -04:00
parent d71e89adae
commit 38bf59042d
3498 changed files with 691264 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
import 'package:active_ecommerce_seller_app/my_theme.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
class SubmitBtn{
static Widget show({EdgeInsetsGeometry padding= EdgeInsets.zero,Color borderColor=const Color.fromRGBO(255, 255, 255, 0.0) ,double elevation=0.0,Alignment alignment = Alignment.centerLeft,Color backgroundColor=MyTheme.app_accent_color,Function? onTap ,double height=0.0,double width=0.0,double radius=0.0,Widget child= const Text("")}){
return ElevatedButton(
style: ElevatedButton.styleFrom(
elevation: elevation,
backgroundColor: backgroundColor,
padding: padding,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(radius),
side: BorderSide(color: borderColor)
),
),
onPressed: onTap as void Function()?,
child: Container(
height: height,
width: width,
alignment: alignment,
child: child),
);
}
}