flutter_cupertino_settings library Null safety

Classes

CSButton
A button-cell inside CupertinoSettings 3 different types are available (they only affect the design): CSButtonType.DESTRUCTIVE Red and centered CSButtonType.DEFAULT Blue and left aligned CSButtonType.DEFAULT_CENTER Blue and centered Provides the correct paddings and text properties [...]
CSButtonType
Defines different types for CSButton Specifies color and alignment
CSControl
A title name in combination with any widget contentWidget extends CSWidget Provides the correct paddings and text properties
CSDescription
CSHeader
This widgets is used as a grouping separator. The title attribute is optional.
Provides a button for navigation
CSSecret
Provides a button for navigation
CSSelection<T>
A selection view Allows to select between multiple items Every item is represented by a String [...]
CSSelectionItem<T>
CSSpacer
CSWidget
Used to display a widget of any kind in CupertinoSettings It provices the correct height, color and border to create the intended look The optional alignment attribute allows to specify the aligment inside the container The optional style attribute allows to specify a style (e.g. an Icon)
CSWidgetStyle
Defines style attributes that can be applied to every CSWidget
CupertinoSettings

Constants

CS_CHECK_SIZE → const double
20.0
CS_CHEVRON_SIZE → const double
17.0
CS_DEFAULT_STYLE → const CSWidgetStyle
const CSWidgetStyle()
CS_DESCRIPTION_FONT_SIZE → const double
13.0
CS_HEADER_FONT_SIZE → const double
14.0
CS_ICON_PADDING → const EdgeInsets
const EdgeInsets.only(right: 10.0, left: 4.0)
CS_ITEM_HEIGHT → const double
50.0
CS_ITEM_NAME_SIZE → const double
15.0
CS_ITEM_PADDING → const EdgeInsets
const EdgeInsets.symmetric(horizontal: 10, vertical: 1)
CS_SUBTITLE_FONT_SIZE → const double
11.0
CS_TITLE_FONT_SIZE → const double
16.0

Functions

basicTextStyle(BuildContext context) TextStyle

Enums

CellType
ItemType

Typedefs

SelectionCallback(int selected) → void
Event for CSSelection