Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jonatas
2020-08-30 12:10:49 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bca2d778567032d9cd0a86b02219c57b68d53b6f
bca2d778
1 parent
26e28f87
update to 3.6.2
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
16 additions
and
8 deletions
CHANGELOG.md
lib/src/core/log.dart
lib/src/instance/get_instance.dart
lib/src/state_manager/rx/rx_iterables/rx_list.dart
lib/src/state_manager/rx/rx_iterables/rx_map.dart
lib/src/state_manager/rx/rx_widgets/rx_obx_widget.dart
pubspec.yaml
test/get_instance_test.dart
CHANGELOG.md
View file @
bca2d77
## [3.6.2]
-
Fix more formatting issues
## [3.6.1]
-
Fix formatting issues
## [3.6.0]
-
Added RxSet
-
Change default logger to developer.log (@jorgegaticav)
...
...
lib/src/core/log.dart
View file @
bca2d77
import
'package:get/instance_manager.dart'
;
import
'dart:developer'
as
developer
;
...
...
lib/src/instance/get_instance.dart
View file @
bca2d77
...
...
@@ -209,7 +209,6 @@ class GetInstance {
S
find
<
S
>({
String
tag
})
{
String
key
=
_getKey
(
S
,
tag
);
if
(
isRegistered
<
S
>(
tag:
tag
))
{
if
(
_singl
[
key
]
==
null
)
{
if
(
tag
==
null
)
{
throw
'Class "
$S
" is not register'
;
...
...
lib/src/state_manager/rx/rx_iterables/rx_list.dart
View file @
bca2d77
...
...
@@ -6,7 +6,6 @@ import '../rx_core/rx_impl.dart';
import
'../rx_core/rx_interface.dart'
;
import
'../rx_typedefs/rx_typedefs.dart'
;
/// Create a list similar to `List<T>`
class
RxList
<
E
>
implements
List
<
E
>,
RxInterface
<
List
<
E
>>
{
RxList
([
List
<
E
>
initial
])
{
...
...
lib/src/state_manager/rx/rx_iterables/rx_map.dart
View file @
bca2d77
import
'dart:async'
;
import
'package:
meta/meta
.dart'
;
import
'package:
flutter/foundation
.dart'
;
import
'../../../../get.dart'
;
import
'../rx_core/rx_interface.dart'
;
import
'../rx_typedefs/rx_typedefs.dart'
;
...
...
lib/src/state_manager/rx/rx_widgets/rx_obx_widget.dart
View file @
bca2d77
...
...
@@ -3,8 +3,6 @@ import 'package:flutter/widgets.dart';
import
'package:get/src/state_manager/rx/rx_core/rx_interface.dart'
;
import
'../rx_core/rx_impl.dart'
;
/// The simplest reactive widget in GetX.
///
/// Just pass your Rx variable in the root scope of the callback to have it
...
...
pubspec.yaml
View file @
bca2d77
name
:
get
description
:
Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with GetX.
version
:
3.6.
0
version
:
3.6.
2
homepage
:
https://github.com/jonataslaw/get
environment
:
...
...
test/get_instance_test.dart
View file @
bca2d77
import
'package:flutter_test/flutter_test.dart'
;
import
'package:matcher/matcher.dart'
;
import
'package:get/get.dart'
;
class
Mock
{
...
...
@@ -19,6 +18,14 @@ class DisposableController extends DisposableInterface {
}
}
class
TypeMatcher
<
T
>
{
/// Creates a type matcher for the given type parameter.
const
TypeMatcher
();
/// Returns true if the given object is of type `T`.
bool
check
(
dynamic
object
)
=>
object
is
T
;
}
abstract
class
Service
{
String
post
();
}
...
...
Please
register
or
login
to post a comment