toastCardLight method

void toastCardLight()

Implementation

void toastCardLight(){
  MyToast.showCustom(context, Card(
    shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(5),),
    clipBehavior: Clip.antiAliasWithSaveLayer, elevation: 1,
    child: Container(
      padding: EdgeInsets.symmetric(horizontal: 15, vertical: 10),
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.center,
        children: <Widget>[
          Text("Mauris Elementum", style: MyText.subhead(context)!.copyWith(color: MyColors.grey_90)),
          Text("Has Been Removed", style: MyText.caption(context)!.copyWith(color: MyColors.grey_40)),
        ],
      ),
    ),
  ));
}