Skip to content

Commit

Permalink
feat: export default builder to make it enable for use single brightn…
Browse files Browse the repository at this point in the history
…ess (#416)

Co-authored-by: Jeffy <[email protected]>
  • Loading branch information
wangjianfeng-work and WonderJeffy authored Sep 10, 2024
1 parent 1ebbfce commit 209ee9a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions super_context_menu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ Basic example:

```dart
return ContextMenuWidget(
// force to use dark brightness
// mobileMenuWidgetBuilder: DefaultMobileMenuWidgetBuilder(brightness: Brightness.dark),
child: const Item(
child: Text('Base Context Menu'),
),
Expand All @@ -68,6 +70,7 @@ Basic example:
);
```

## Running the example project

Example project is available at `super_context_menu/example`.
Expand Down
3 changes: 3 additions & 0 deletions super_context_menu/lib/super_context_menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ library super_context_menu;

export 'src/menu_model.dart';
export 'src/menu.dart';

export 'src/default_builder/desktop_menu_widget_builder.dart';
export 'src/default_builder/mobile_menu_widget_builder.dart';

0 comments on commit 209ee9a

Please sign in to comment.