Options constructor
Options({
- bool disabled = false,
- bool loading = false,
- AlignmentGeometry? alignment,
- EdgeInsets margin = const EdgeInsets.all(0),
- EdgeInsets padding = const EdgeInsets.all(0),
- TextAlign textAlign = TextAlign.center,
- TextStyle textStyle = const TextStyle(fontFamily: "Raleway", fontSize: 14, fontWeight: FontWeight.w400, color: Colors.black),
- 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(),
});