FlutlyButtonApperiances constructor

FlutlyButtonApperiances({
  1. double? width,
  2. double? height,
  3. bool? expanded,
  4. Color? backgroundColor,
  5. String? textFC,
  6. double? borderRadius,
})

Implementation

FlutlyButtonApperiances({
  this.width,
  this.height,
  this.expanded,
  this.backgroundColor,
  this.textFC,
  this.borderRadius,
}) {
  backgroundColor ??= Get.find<FlutlyTheme>().getColor("buttonColor");
  borderRadius ??= 0;
  expanded ??= false;
  width ??= 100;
  height ??= 40;

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