Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 7013dbd

Browse files
authored
[local_auth_platform_interface] Export externally used types from local_auth_platform_interface.dart directly. (#5196)
1 parent 3e44799 commit 7013dbd

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.0.1
2+
3+
* Export externally used types from local_auth_platform_interface.dart directly.
4+
15
## 1.0.0
26

37
* Initial release.

packages/local_auth/local_auth_platform_interface/lib/local_auth_platform_interface.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
// found in the LICENSE file.
44

55
import 'package:local_auth_platform_interface/default_method_channel_platform.dart';
6-
import 'package:local_auth_platform_interface/types/auth_messages.dart';
7-
import 'package:local_auth_platform_interface/types/auth_options.dart';
8-
import 'package:local_auth_platform_interface/types/biometric_type.dart';
6+
import 'package:local_auth_platform_interface/types/types.dart';
97
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
108

9+
export 'package:local_auth_platform_interface/types/types.dart';
10+
1111
/// The interface that implementations of local_auth must implement.
1212
///
1313
/// Platform implementations should extend this class rather than implement it as `local_auth`
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Copyright 2013 The Flutter Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
5+
export 'auth_messages.dart';
6+
export 'auth_options.dart';
7+
export 'biometric_type.dart';

packages/local_auth/local_auth_platform_interface/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repository: https://github.com/flutter/plugins/tree/master/packages/local_auth/l
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+local_auth%22
55
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
66
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
7-
version: 1.0.0
7+
version: 1.0.1
88

99
environment:
1010
sdk: ">=2.14.0 <3.0.0"

0 commit comments

Comments
 (0)