value class Span


Defines the spanned area (that crosses multiple columns and/or rows) that a widget will take when placed at the given position. For Grid, specify the Span with Span(position, rows, columns) For Row/Column, specify the Span with Span(position, size)

Summary

Public constructors

Span(description: String)

create a new Span containing the position and size information of the spanned area

Span(position: @IntRange(from = 0) Int, size: @IntRange(from = 1) Int)
Span(
    position: @IntRange(from = 0) Int,
    rows: @IntRange(from = 1) Int,
    columns: @IntRange(from = 1) Int
)

Public properties

String

string to specify skip.

Public constructors

Span

Added in 1.1.0
Span(description: String)

create a new Span containing the position and size information of the spanned area

Parameters
description: String

string to specify skip. For Grid: "position:rowsxcolumns"; For Row/Columns: "position:size"

Span

Added in 1.1.0
Span(position: @IntRange(from = 0) Int, size: @IntRange(from = 1) Int)

Span

Added in 1.1.0
Span(
    position: @IntRange(from = 0) Int,
    rows: @IntRange(from = 1) Int,
    columns: @IntRange(from = 1) Int
)

Public properties

description

Added in 1.1.0
val descriptionString

string to specify skip. For Grid: "position:rowsxcolumns"; For Row/Columns: "position:size"