Options constructor

Options({
  1. bool disabled = false,
  2. bool loading = false,
  3. AlignmentGeometry? alignment,
  4. EdgeInsets margin = const EdgeInsets.all(0),
  5. EdgeInsets padding = const EdgeInsets.all(0),
  6. TextAlign textAlign = TextAlign.center,
  7. TextStyle textStyle = const TextStyle(fontFamily: "Raleway", fontSize: 14, fontWeight: FontWeight.w400, color: Colors.black),
  8. Decoration decoration = const BoxDecoration(),
})

Implementation

Options({
  this.disabled = false,
  this.loading = false,
  this.alignment,
  this.margin = const EdgeInsets.all(0),
  this.padding = const EdgeInsets.all(0),
  this.textAlign = TextAlign.center,
  this.textStyle = const TextStyle(
      fontFamily: "Raleway",
      fontSize: 14,
      fontWeight: FontWeight.w400,
      color: Colors.black),
  this.decoration = const BoxDecoration(),
});