@@ -29,26 +29,26 @@ import 'package:settings_ui/settings_ui.dart';
29
29
30
30
# # Basic Usage:
31
31
` ` ` dart
32
- SettingsList(
33
- sections: [
34
- SettingsSection(
35
- title: Text('Common'),
36
- tiles: <SettingsTile>[
37
- SettingsTile.navigation(
38
- leading: Icon(Icons.language),
39
- title: Text('Language'),
40
- value: Text('English'),
41
- ),
42
- SettingsTile.switchTile(
43
- onToggle: (value) {},
44
- initialValue: true,
45
- leading: Icon(Icons.format_paint),
46
- title: Text('Enable custom theme'),
47
- ),
48
- ],
49
- ),
50
- ],
51
- ),
32
+ SettingsList(
33
+ sections: [
34
+ SettingsSection(
35
+ title: Text('Common'),
36
+ tiles: <SettingsTile>[
37
+ SettingsTile.navigation(
38
+ leading: Icon(Icons.language),
39
+ title: Text('Language'),
40
+ value: Text('English'),
41
+ ),
42
+ SettingsTile.switchTile(
43
+ onToggle: (value) {},
44
+ initialValue: true,
45
+ leading: Icon(Icons.format_paint),
46
+ title: Text('Enable custom theme'),
47
+ ),
48
+ ],
49
+ ),
50
+ ],
51
+ ),
52
52
` ` `
53
53
54
54
<br>
@@ -103,11 +103,12 @@ Here it is. The section tile. It displays the elements you want to show.
103
103
| CustomSettingsTile | The main idea the same as for the `CustomSettingsSection`. You can put anything as a child inside your `SettingsSection`.
104
104
| SettingsTile | I think that we need to discuss this deeper. See below for the details.
105
105
106
+ <br>
107
+ <br>
108
+
106
109
# ## Settings tile
107
110
The implementation of `AbstractSettingsTile`. It has a lot of fabric methods and parameters. Let's take a look.
108
111
109
- <br>
110
-
111
112
| Constructor / Fabric method | Description |
112
113
|--|--|
113
114
| SettingsTile | Displays the default setting tile. Nothing special. |
@@ -119,7 +120,6 @@ The implementation of `AbstractSettingsTile`. It has a lot of fabric methods and
119
120
120
121
# ### Now let's deal with all these parameters.
121
122
122
- <br>
123
123
124
124
| Parameter | Description |
125
125
|--|--|
0 commit comments