flutter_cupertino_settings library
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.
- CSLink
- 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
- CS_CHEVRON_SIZE → const double
- CS_DEFAULT_STYLE → const CSWidgetStyle
- CS_DESCRIPTION_FONT_SIZE → const double
- CS_HEADER_FONT_SIZE → const double
- CS_ICON_PADDING → const EdgeInsets
- CS_ITEM_HEIGHT → const double
- CS_ITEM_NAME_SIZE → const double
- CS_ITEM_PADDING → const EdgeInsets
- CS_SUBTITLE_FONT_SIZE → const double
- CS_TITLE_FONT_SIZE → const double
Functions
-
basicTextStyle(
BuildContext context) → TextStyle
Typedefs
- SelectionCallback = void Function(int selected)
- Event for CSSelection