Skip to content

Commit 319aba2

Browse files
authored
Example app review (#1268)
* feat(example): Force use Segoe UI font web * fix(example): Link Pane Item Action shouldn't be indexable * feat: Specify language in CodeSnippetCard * chore: Migrate mac app to spm * fix: update navigation view documentation * feat: Update progress bar data * feat: RatingBarPage * feat: Add InfoBadge page * fix: Prefer WindowsIcons * chore: Clean it up
1 parent cb9be27 commit 319aba2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+768
-1216
lines changed

example/fonts/segoeuithibd.ttf

834 KB
Binary file not shown.

example/fonts/segoeuithis.ttf

814 KB
Binary file not shown.

example/fonts/segoeuithisi.ttf

465 KB
Binary file not shown.

example/fonts/segoeuithisz.ttf

485 KB
Binary file not shown.

example/lib/main.dart

Lines changed: 50 additions & 356 deletions
Large diffs are not rendered by default.

example/lib/models/sponsor.dart

Lines changed: 0 additions & 109 deletions
This file was deleted.

example/lib/routes/inputs.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
export '../screens/inputs/button.dart';
22
export '../screens/inputs/checkbox.dart';
3+
export '../screens/inputs/rating_bar.dart';
34
export '../screens/inputs/slider.dart';
45
export '../screens/inputs/toggle_switch.dart';

example/lib/routes/surfaces.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ export '../screens/popups/teaching_tip.dart';
22
export '../screens/surface/acrylic.dart';
33
export '../screens/surface/commandbars.dart';
44
export '../screens/surface/expander.dart';
5+
export '../screens/surface/info_badge.dart';
56
export '../screens/surface/info_bars.dart';
6-
export '../screens/surface/progress_indicators.dart';
7+
export '../screens/surface/progress_bar.dart';
8+
export '../screens/surface/progress_ring.dart';
79
export '../screens/surface/tiles.dart';

example/lib/screens/forms/auto_suggest_box.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import 'package:example/widgets/card_highlight.dart';
1+
import 'package:example/widgets/code_snippet_card.dart';
22
import 'package:example/widgets/page.dart';
33
import 'package:fluent_ui/fluent_ui.dart';
44

@@ -37,7 +37,7 @@ class _AutoSuggestBoxPageState extends State<AutoSuggestBoxPage>
3737
'for providing relevant suggestions for this control to display.',
3838
),
3939
subtitle(content: const Text('A basic AutoSuggestBox')),
40-
CardHighlight(
40+
CodeSnippetCard(
4141
codeSnippet: r'''
4242
String? selectedCat;
4343
@@ -107,7 +107,7 @@ const cats = <String>[
107107
' AutoSuggestBox can be used as a replacement of a ComboBox.',
108108
),
109109
),
110-
CardHighlight(
110+
CodeSnippetCard(
111111
codeSnippet: r'''
112112
class Cat {
113113
final int id;
@@ -194,7 +194,7 @@ const objectCats = [
194194
'the overlay is visible, you can use the "isOverlayVisible" property',
195195
),
196196
),
197-
CardHighlight(
197+
CodeSnippetCard(
198198
codeSnippet: r'''
199199
final asgbKey = GlobalKey<AutoSuggestBoxState>(
200200
debugLabel: 'Manually controlled AutoSuggestBox',

example/lib/screens/forms/calendar_date_picker.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import 'package:example/widgets/card_highlight.dart';
1+
import 'package:example/widgets/code_snippet_card.dart';
22
import 'package:example/widgets/page.dart';
33
import 'package:fluent_ui/fluent_ui.dart';
44

@@ -40,7 +40,7 @@ class _CalendarDatePickerPageState extends State<CalendarDatePickerPage>
4040
'or to limit available dates.',
4141
),
4242
subtitle(content: const Text('A basic calendar date picker')),
43-
CardHighlight(
43+
CodeSnippetCard(
4444
codeSnippet:
4545
'''CalendarDatePicker(
4646
onSelectionChanged: (value) {

0 commit comments

Comments
 (0)