SettingsSkinDelegate class abstract
The abstract SettingsSkinDelegate class that your skins must subclass This lists the minimum methods that need to be included in your subclasses, though the provided skins sometimes contain some other common methods See DefaultSkin, CupertinoSettingsSkin, CupertinoDarkSettingsSkin, MaterialSettingsSkin, MaterialDarkSettingsSkin for examples of subclasses In most cases, you'll likely want to subclass one of those
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
appBackgroundColor(
BuildContext context) → Color -
appHeaderBackgroundColor(
BuildContext context) → Color -
appHeaderTextStyle(
BuildContext context) → TextStyle - Button Content This generates the internal contents of a button cell with an optional icon/image, title, subtitle, and accessory Note: the callback to handle the button press is handled in the main settings cell, so it isn't passed down to this content method
-
cellBackgroundColor(
BuildContext context, {Set< MaterialState> ? materialStates, Map<String, dynamic> ? extraInfo}) → Color -
defaultScrollPhysics(
BuildContext context) → ScrollPhysics -
detailsContent(
BuildContext context, {Key? key, Set< MaterialState> ? materialStates, String title = '', String subtitle = '', String value = '', Widget? leadingWidget, AccessoryType accessoryType = AccessoryType.None, Map<String, dynamic> ? extraInfo}) → Widget - Details Content This generates the internal contents of a standard details cell with an optional icon/image, title, subtitle, value and accessory
-
headerBackgroundColor(
BuildContext context, {Map< String, dynamic> ? extraInfo}) → Color -
headerTextStyle(
BuildContext context, {Map< String, dynamic> ? extraInfo}) → TextStyle -
listBackgroundColor(
BuildContext context) → Color -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
primaryColor(
{Set< MaterialState> ? materialStates}) → Color -
section(
BuildContext context, SettingsSection section) → Widget - Section
- Section Footer
-
sectionHeader(
BuildContext context, {Key? key, String? header, Map< String, dynamic> ? extraInfo}) → Widget - Section Header
-
settingsCell(
BuildContext context, {Key? key, Set< MaterialState> ? materialStates, Map<String, dynamic> ? extraInfo, required Widget child}) → Widget -
Setting Cell
This generates the frame of a settings cell, with the contents supplied by the
child
parameter -
settingsCellBottom(
BuildContext context, {Key? key, Set< MaterialState> ? materialStates, required int cellIndex, required int cellCount, Map<String, dynamic> ? extraInfo}) → Widget - Settings Cell Bottom
-
settingsCellTop(
BuildContext context, {Key? key, Set< MaterialState> ? materialStates, required int cellIndex, required int cellCount, Map<String, dynamic> ? extraInfo}) → Widget - Cells Settings Cell Topper
-
sliderContent(
BuildContext context, {Key? key, Set< MaterialState> ? materialStates, String title = '', String subtitle = '', double value = 0.0, Widget? leadingWidget, AccessoryType accessoryType = AccessoryType.None, required dynamic onChanged(double), Map<String, dynamic> ? extraInfo}) → Widget - Slider Content This generates the internal contents of a slider cell with an optional icon/image, title, subtitle, value (used to set the initial value of the slider) and accessory
-
subtitleTextStyle(
BuildContext context, {Set< MaterialState> ? materialStates, Map<String, dynamic> ? extraInfo}) → TextStyle -
switchContent(
BuildContext context, {Key? key, Set< MaterialState> ? materialStates, String title = '', String subtitle = '', bool value = false, Widget? leadingWidget, AccessoryType accessoryType = AccessoryType.None, required dynamic onChanged(bool), Map<String, dynamic> ? extraInfo}) → Widget - Switch Content This generates the internal contents of a toggle/switch cell with an optional icon/image, title, subtitle, value (used to set the initial value of the switch) and accessory
-
titleTextStyle(
BuildContext context, {Set< MaterialState> ? materialStates, Map<String, dynamic> ? extraInfo}) → TextStyle -
toString(
) → String -
A string representation of this object.
inherited
-
valueTextStyle(
BuildContext context, {Set< MaterialState> ? materialStates, Map<String, dynamic> ? extraInfo}) → TextStyle
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited