FlutlyToastApperiances constructor

FlutlyToastApperiances({
  1. Color? backgroundColor,
  2. String? textFC,
  3. double? borderRadius,
})

Implementation

FlutlyToastApperiances({
  this.backgroundColor,
  this.textFC,
  this.borderRadius,
}) {
  backgroundColor ??= Get.find<FlutlyTheme>().getColor("buttonColor");
  borderRadius ??= 6;

  if(textFC == "" || textFC == null) textFC = "small textColor normal";
}