PlaygroundValue constructor
PlaygroundValue({
- TextAlign textAlign = TextAlign.center,
- bool fillColor = false,
- int maxLines = 1,
- bool hasFocus = false,
- bool hasStickers = false,
- bool isEditing = false,
- PlaygroundBackground? background,
- GradientBackground? textBackground,
- bool stickerPickerView = false,
- bool colorPickerVisibility = false,
Implementation
PlaygroundValue({
this.textAlign = TextAlign.center,
this.fillColor = false,
this.maxLines = 1,
this.hasFocus = false,
this.hasStickers = false,
this.isEditing = false,
PlaygroundBackground? background,
GradientBackground? textBackground,
this.stickerPickerView = false,
this.colorPickerVisibility = false,
}) : background = background ??
const GradientBackground([Color(0xFF00C6FF), Color(0xFF0078FF)]),
textBackground = textBackground ??
const GradientBackground([Color(0xFF00C6FF), Color(0xFF0078FF)]);