CountryNameWidget constructor

CountryNameWidget({
  1. Key? key,
  2. double height = 0,
  3. double width = 0,
  4. EdgeInsetsGeometry padding = EdgeInsets.zero,
  5. double borderRadius = 0,
  6. Color color = Colors.transparent,
  7. Color borderColor = Colors.black,
  8. BorderStyle borderStyle = BorderStyle.solid,
  9. double borderWidth = 0,
  10. TextStyle textStyle = const TextStyle(fontSize: 18),
})

Implementation

CountryNameWidget({
  Key? key,
  this.height = 0,
  this.width = 0,
  this.padding = EdgeInsets.zero,
  this.borderRadius = 0,
  this.color = Colors.transparent,
  this.borderColor = Colors.black,
  this.borderStyle = BorderStyle.solid,
  this.borderWidth = 0,
  this.textStyle = const TextStyle(fontSize: 18),
}) : super(key: key);