@@ -15,27 +15,27 @@ class CupertinoAppBar(Control):
1515 An iOS-styled app bar.
1616
1717 Note:
18- The alignment of the [`title`][(c).] depends on whether this app bar is [`large`][(c).] or not.
19- If it is `True`, the `title` is left-aligned and if it is `False` (the default),
20- the `title` is centered.
18+ The alignment of the [`title`][(c).] depends on whether
19+ this app bar is [`large`][(c).] or not.
20+ If it is `True`, the [`title`][(c).] is left-aligned and if it
21+ is `False` (the default), the [`title`][(c).] is centered.
2122 """
2223
2324 leading : Optional [Control ] = None
2425 """
2526 A control to display at the start of this app bar.
2627
27- Typically the leading control is an [`Icon`][flet.Icon] or an
28- [`IconButton`][flet.IconButton].
28+ Typically the leading control is an [`Icon`][flet.] or an [`IconButton`][flet.] .
2929
30- If it is `None` and [`automatically_imply_leading = True `][flet.CupertinoAppBar.automatically_imply_leading] ,
30+ If it is `None` and [`automatically_imply_leading`][(c).] is `True` ,
3131 an appropriate button will be automatically created.
3232 """
3333
3434 title : Optional [StrOrControl ] = None
3535 """
3636 A string or a control to display in the middle of this app bar.
3737
38- Typically a [`Text`][flet.Text ].
38+ Typically a [`Text`][flet.].
3939 """
4040
4141 trailing : Optional [Control ] = None
@@ -54,20 +54,21 @@ class CupertinoAppBar(Control):
5454
5555 automatically_imply_leading : Optional [bool ] = None
5656 """
57- Whether we should try to imply the [`leading`][flet.CupertinoAppBar.leading]
58- control if `None`.
57+ Whether we should try to imply the [`leading`][(c).] control if `None`.
5958
60- - If `True` and `leading` is `None`, the app bar will automatically determine an appropriate leading control.
61- - If `False` and `leading` is `None`, the space is allocated to the `title`.
62- - If a `leading` control is provided, this parameter has no effect.
59+ - If `True` and [`leading`][(c).] is `None`, the app bar will automatically
60+ determine an appropriate leading control.
61+ - If `False` and [`leading`][(c).] is `None`,
62+ the space is allocated to the [`title`][(c).].
63+ - If a [`leading`][(c).] control is provided, this parameter has no effect.
6364 """
6465
6566 automatically_imply_title : Optional [bool ] = None
6667 """
6768 Whether we should try to imply the `title` control if `None`.
6869
69- - If True and `title` is `None`, a [`Text`][flet.Text ] control containing the
70- current route's title will be automatically filled in.
70+ - If True and `title` is `None`, a [`Text`][flet.] control containing the
71+ current route's title will be automatically filled in.
7172 - If the `title` is not `None`, this parameter has no effect.
7273 """
7374
@@ -84,10 +85,10 @@ class CupertinoAppBar(Control):
8485 If `None`, the app bar will adopt the following defaults:
8586
8687 - vertically, contents will be sized to the same height as the app bar itself minus
87- the status bar.
88+ the status bar.
8889 - horizontally, padding will be `16` pixels according to iOS specifications unless
89- the leading widget is an automatically inserted back button, in which case the
90- padding will be `0`.
90+ the leading widget is an automatically inserted back button, in which case the
91+ padding will be `0`.
9192
9293 Note:
9394 Vertical padding (`top` and `bottom`) won't change the height of this app bar.
@@ -97,8 +98,8 @@ class CupertinoAppBar(Control):
9798 """
9899 Determines whether the app bar transitions between routes.
99100
100- If `True`, this app bar will animate on top of route transitions when the destination
101- route also contains a `CupertinoAppBar` or `CupertinoSliverAppBar` with
101+ If `True`, this app bar will animate on top of route transitions when the
102+ destination route also contains a `CupertinoAppBar` or `CupertinoSliverAppBar` with
102103 `transition_between_routes` set to `True`.
103104
104105 This transition also occurs during edge back swipe gestures, mimicking native iOS
@@ -111,49 +112,48 @@ class CupertinoAppBar(Control):
111112
112113 previous_page_title : Optional [str ] = None
113114 """
114- Manually specify the previous route's title when automatically implying the leading back button.
115+ Manually specify the previous route's title when automatically implying
116+ the leading back button.
115117
116118 Overrides the text shown with the back chevron instead of automatically showing the
117- previous route's title when [`automatically_imply_leading`][flet.CupertinoAppBar.automatically_imply_leading]
118- is `True`.
119+ previous route's title when [`automatically_imply_leading`][(c).] is `True`.
119120
120121 Note:
121122 Has no effect if `leading` is not `None` or if
122- [`automatically_imply_leading`][flet.CupertinoAppBar.automatically_imply_leading ] is `False`.
123+ [`automatically_imply_leading`][(c). ] is `False`.
123124 """
124125
125126 brightness : Optional [Brightness ] = None
126127 """
127- The brightness of the specified [`bgcolor`][flet.CupertinoAppBar.bgcolor ].
128+ The brightness of the specified [`bgcolor`][(c). ].
128129
129130 Setting this value changes the style of the system status bar. It is typically used
130- to increase the contrast ratio of the system status bar over `bgcolor`.
131+ to increase the contrast ratio of the system status bar over [ `bgcolor`][(c).] .
131132
132133 If `None` (the default), its value will be inferred from the relative luminance of
133- the `bgcolor`.
134+ the [ `bgcolor`][(c).] .
134135 """
135136
136137 automatic_background_visibility : Optional [bool ] = None
137138 """
138- Whether the navigation bar should appear transparent when content is scrolled under
139- it.
139+ Whether the navigation bar should appear transparent
140+ when content is scrolled under it.
140141
141- If `False`, the navigation bar will display its [`bgcolor`][flet.CupertinoAppBar.bgcolor ].
142+ If `False`, the navigation bar will display its [`bgcolor`][(c). ].
142143 """
143144
144145 enable_background_filter_blur : Optional [bool ] = None
145146 """
146- Whether to have a blur effect when a non-opaque [`bgcolor`][flet.CupertinoAppBar.bgcolor ] is used.
147+ Whether to have a blur effect when a non-opaque [`bgcolor`][(c). ] is used.
147148
148- This will only be respected when
149- [`automatic_background_visibility`][flet.CupertinoAppBar.automatic_background_visibility]
149+ This will only be respected when [`automatic_background_visibility`][(c).]
150150 is `False` or until content scrolls under the navigation bar.
151151 """
152152
153153 large : bool = False
154154 """
155155 Whether to use a large app bar layout.
156156
157- If `True`, the title will be left-aligned and if it is `False`, the title will be
158- centered.
157+ If `True`, the [` title`][(c).] is left-aligned;
158+ if `False`, the [`title`][(c).] is centered.
159159 """
0 commit comments