Skip to content

Commit

Permalink
Remove dismiss widget
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasfj committed Sep 25, 2024
1 parent 4a2c7cd commit ef24c6d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 119 deletions.
117 changes: 0 additions & 117 deletions pkg/web_app/lib/src/widget/dismiss/widget.dart

This file was deleted.

2 changes: 0 additions & 2 deletions pkg/web_app/lib/src/widget/widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import 'package:web/web.dart';

import '../web_util.dart';
import 'completion/widget.dart' deferred as completion;
import 'dismiss/widget.dart' deferred as dismiss;
import 'switch/widget.dart' deferred as switch_;

/// Function to create an instance of the widget given an element and options.
Expand All @@ -33,7 +32,6 @@ typedef _WidgetLoaderFn = FutureOr<_WidgetFn> Function();
/// Map from widget name to widget loader
final _widgets = <String, _WidgetLoaderFn>{
'completion': () => completion.loadLibrary().then((_) => completion.create),
'dismiss': () => dismiss.loadLibrary().then((_) => dismiss.create),
'switch': () => switch_.loadLibrary().then((_) => switch_.create),
};

Expand Down

0 comments on commit ef24c6d

Please sign in to comment.