roundedHoloBorder static method
Implementation
static Container roundedHoloBorder(BuildContext context,{String text="button",Color color=const Color(0xffed4b2f),int radius=20,double textSize=16,double padding=20,void Function()? function}){
return Container(
child: TextButton(
onPressed: function, child: Text(text.toUpperCase(),style: TextStyle(color: color,fontSize: textSize),),style: ButtonStyle(padding:MaterialStateProperty.all(edge(padding)),backgroundColor: MaterialStateProperty.all(Colors.transparent),shape: MaterialStateProperty.all(RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(radius.toDouble())))),side: MaterialStateProperty.all(BorderSide(color: color)),),
)
);
}