Skip to content

Commit 9475355

Browse files
committed
0.7.5
1 parent b4adb68 commit 9475355

File tree

5 files changed

+9
-19
lines changed

5 files changed

+9
-19
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,7 @@
4343
* supplementary document
4444

4545
## 0.7.4
46+
* support web
47+
48+
## 0.7.5
4649
* support web

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Add this to your package's pubspec.yaml file:
77

88
```yaml
99
dependencies:
10-
tform: ^0.7.4
10+
tform: ^0.7.5
1111
```
1212
1313
## Example

lib/tform.dart

-13
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,3 @@ export 'form/form.dart';
22
export 'form/form_row.dart';
33
export 'form/form_cell.dart';
44
export 'form/form_validation.dart';
5-
6-
import 'dart:async';
7-
8-
import 'package:flutter/services.dart';
9-
10-
class Tform {
11-
static const MethodChannel _channel = const MethodChannel('tform');
12-
13-
static Future<String> get platformVersion async {
14-
final String version = await _channel.invokeMethod('getPlatformVersion');
15-
return version;
16-
}
17-
}

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: tform
22
description: A easy, extensible and dynamic flutter form framework. Support for custom selectors, validators and widgets. Support form verification, insert, delete and so on.
3-
version: 0.7.4
3+
version: 0.7.5
44
homepage: https://github.com/yichahucha/tform
55

66
environment:

test/tform_test.dart

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'package:flutter/services.dart';
22
import 'package:flutter_test/flutter_test.dart';
3-
import 'package:tform/tform.dart';
3+
// import 'package:tform/tform.dart';
44

55
void main() {
66
const MethodChannel channel = MethodChannel('tform');
@@ -17,7 +17,7 @@ void main() {
1717
channel.setMockMethodCallHandler(null);
1818
});
1919

20-
test('getPlatformVersion', () async {
21-
expect(await Tform.platformVersion, '42');
22-
});
20+
// test('getPlatformVersion', () async {
21+
// expect(await Tform.platformVersion, '42');
22+
// });
2323
}

0 commit comments

Comments
 (0)