Legytma Schemas

Button Bar Theme Data Schema

https://legytma.com.br/schema/button_bar_theme_data.schema.json
Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Allowed none button_bar_theme_data.schema.json

Button Bar Theme Data Type

object (Button Bar Theme Data)

Button Bar Theme Data Properties

Property Type Required Nullable Defined by
alignment string Optional cannot be null Button Bar Theme Data
buttonAlignedDropdown boolean Optional cannot be null Button Bar Theme Data
buttonHeight Merged Optional cannot be null Button Bar Theme Data
buttonMinWidth Merged Optional cannot be null Button Bar Theme Data
buttonPadding Unknown Type Optional cannot be null Button Bar Theme Data
buttonTextTheme string Optional cannot be null Button Bar Theme Data
layoutBehavior string Optional cannot be null Button Bar Theme Data
mainAxisSize string Optional cannot be null Button Bar Theme Data

alignment

Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

alignment

alignment Type

string (Main Axis Alignment)

alignment Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"start"  
"end"  
"center"  
"spaceBetween"  
"spaceAround"  
"spaceEvenly"  

alignment Default Value

The default value is:

"start"

buttonAlignedDropdown

Define the representation of boolean acceptable.

Used to identify parser. Every parser can permit only one type

buttonAlignedDropdown

buttonAlignedDropdown Type

boolean (Boolean)

buttonAlignedDropdown Default Value

The default value is:

true

buttonAlignedDropdown Examples

true
false

buttonHeight

Define the representation of double acceptable.

Used to identify parser. Every parser can permit only one type

buttonHeight

buttonHeight Type

merged type (Double)

one (and only one) of

buttonHeight Constraints

maximum: the value of this number must smaller than or equal to: 1

minimum: the value of this number must greater than or equal to: 0

buttonHeight Default Value

The default value is:

1

buttonMinWidth

Define the representation of double acceptable.

Used to identify parser. Every parser can permit only one type

buttonMinWidth

buttonMinWidth Type

merged type (Double)

one (and only one) of

buttonMinWidth Constraints

maximum: the value of this number must smaller than or equal to: 1

minimum: the value of this number must greater than or equal to: 0

buttonMinWidth Default Value

The default value is:

1

buttonPadding

Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

buttonPadding

buttonPadding Type

any of the folllowing: string or object (Edge Insets Geometry)

buttonPadding Default Value

The default value is:

{
  "type": "only",
  "bottom": 8
}

buttonTextTheme

buttonTextTheme

buttonTextTheme Type

string (Button Text Theme)

buttonTextTheme Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"accent"  
"normal"  
"primary"  

buttonTextTheme Default Value

The default value is:

"normal"

buttonTextTheme Examples

"accent"
"normal"
"primary"

layoutBehavior

layoutBehavior

layoutBehavior Type

string (Button Bar Layout Behavior)

layoutBehavior Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"constrained"  
"padded"  

layoutBehavior Default Value

The default value is:

"padded"

layoutBehavior Examples

"constrained"
"padded"

mainAxisSize

Created by Windol [email protected] at 01/05/2020. Copyright (c) 2020 Legytma Soluções Inteligentes (https://legytma.com.br). All rights reserved.

mainAxisSize

mainAxisSize Type

string (Main Axis Size)

mainAxisSize Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"min"  
"max"  

mainAxisSize Default Value

The default value is:

"max"