DialogItem class

A Dialog item.

Constructors

DialogItem({required int style, int dwExtendedStyle = 0, required int x, required int y, required int width, required int height, required int id, int windowSystemClass = 0, String windowClass = '', String text = '', List<int> creationDataBytes = const []})
const
DialogItem.button({int? style, required int x, required int y, required int width, required int height, required int id, required String text})
A button item.
factory
DialogItem.text({int? style, String windowClass = 'static', required int x, required int y, required int width, required int height, required int id, required String text})
A text item.
factory

Properties

creationDataBytes → List<int>
final
dwExtendedStyle → int
final
hashCode → int
The hash code for this object.
no setteroverride
height → int
final
id → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
style → int
final
text → String
final
width → int
final
windowClass → String
final
windowSystemClass → int
final
x → int
final
y → int
final

Methods

computeTemplateSize() → int
Returns the size in WORDs (an upper bound) of this item in a DLGTEMPLATE (see Dialog.createDialogTemplate).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override