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.
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

Functions

basicTextStyle(BuildContext context) TextStyle

Typedefs

SelectionCallback = void Function(int selected)
Event for CSSelection