flet-datatable2 0.1.0.dev1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of flet-datatable2 might be problematic. Click here for more details.
- flet_datatable2/__init__.py +5 -0
- flet_datatable2/datacolumn2.py +173 -0
- flet_datatable2/datarow2.py +220 -0
- flet_datatable2/datatable2.py +864 -0
- flet_datatable2-0.1.0.dev1.dist-info/METADATA +38 -0
- flet_datatable2-0.1.0.dev1.dist-info/RECORD +17 -0
- flet_datatable2-0.1.0.dev1.dist-info/WHEEL +5 -0
- flet_datatable2-0.1.0.dev1.dist-info/top_level.txt +2 -0
- flutter/flet_datatable2/CHANGELOG.md +3 -0
- flutter/flet_datatable2/LICENSE +1 -0
- flutter/flet_datatable2/README.md +6 -0
- flutter/flet_datatable2/lib/flet_datatable2.dart +3 -0
- flutter/flet_datatable2/lib/src/create_control.dart +22 -0
- flutter/flet_datatable2/lib/src/data_sources.dart +692 -0
- flutter/flet_datatable2/lib/src/datatable2.dart +309 -0
- flutter/flet_datatable2/pubspec.lock +751 -0
- flutter/flet_datatable2/pubspec.yaml +17 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
|
+
Name: flet-datatable2
|
|
3
|
+
Version: 0.1.0.dev1
|
|
4
|
+
Summary: DataTable2 control for Flet
|
|
5
|
+
Author-email: Flet contributors <you@example.com>
|
|
6
|
+
Project-URL: Homepage, https://mydomain.dev
|
|
7
|
+
Project-URL: Documentation, https://github.com/MyGithubAccount/flet-datatable2
|
|
8
|
+
Project-URL: Repository, https://github.com/MyGithubAccount/flet-datatable2
|
|
9
|
+
Project-URL: Issues, https://github.com/MyGithubAccount/flet-datatable2/issues
|
|
10
|
+
Requires-Python: >=3.9
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
Requires-Dist: flet>=0.27.3
|
|
13
|
+
|
|
14
|
+
# Flet DataTable2
|
|
15
|
+
|
|
16
|
+
DataTable2 Control for Flet based on [DataTable2 package](https://pub.dev/packages/data_table_2) for Flutter.
|
|
17
|
+
|
|
18
|
+
DataTable2 features fixed/sticky header/top rows and left columns and many other useful features additionally to all the properties of built-in Flet [DataTable](https://flet.dev/docs/controls/datatable).
|
|
19
|
+
|
|
20
|
+
## Installation
|
|
21
|
+
|
|
22
|
+
Add dependency to `pyproject.toml` of your Flet app:
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
dependencies = [
|
|
26
|
+
"flet-datatable2 @ git+https://github.com/flet-dev/flet_datatable2.git",
|
|
27
|
+
"flet>=0.27.4",
|
|
28
|
+
]
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Build your app:
|
|
32
|
+
```
|
|
33
|
+
flet build macos -v
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Documentation
|
|
37
|
+
|
|
38
|
+
https://flet-dev.github.io/flet-datatable2/
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
flet_datatable2/__init__.py,sha256=pkUEAxsfyh_WGlPLJvYy77tnhsDziooW1D4GqxC7j_o,180
|
|
2
|
+
flet_datatable2/datacolumn2.py,sha256=124BnyvcWGaU15KpPWVHfXO7x8YYxhjxG7MUc1eShNA,5410
|
|
3
|
+
flet_datatable2/datarow2.py,sha256=-mUFWJX-rM_4HdFuGYhGuuRxg9ZwSd6MBZd8QHwKYwg,7504
|
|
4
|
+
flet_datatable2/datatable2.py,sha256=fVIMSLuV8HXxeNH0ORInxjFa1hQMT2fVpSOfcaqQaxg,31323
|
|
5
|
+
flutter/flet_datatable2/CHANGELOG.md,sha256=e6Zjy4gzJ4BEtHpGmHZdbyAJxOs9Q-y8c2s5W2TH6ZA,44
|
|
6
|
+
flutter/flet_datatable2/LICENSE,sha256=Qi4N6OMnX-v1xBpcz4kfaPFrxA4bXcom5QkTswfveU4,29
|
|
7
|
+
flutter/flet_datatable2/README.md,sha256=cJI_uMYdA7FDctTMhnkg1l6Twg_e2VjVuhtOagDXXv0,111
|
|
8
|
+
flutter/flet_datatable2/pubspec.lock,sha256=LL4yQ_kmWvXiFBIAg9-ufUnKcS3CZTob3rWqx5aFheY,22275
|
|
9
|
+
flutter/flet_datatable2/pubspec.yaml,sha256=JZyhCSlMIkfEott8Bf3eSSstbWCKpk0qVM2HNQTl7q8,427
|
|
10
|
+
flutter/flet_datatable2/lib/flet_datatable2.dart,sha256=n7VZTl1_4d3g1edOUEBkUpYWlEPt4dkfDngYMj6DF1Y,101
|
|
11
|
+
flutter/flet_datatable2/lib/src/create_control.dart,sha256=wTrNtrQQZ0wdGBh_Et51MPO7C0yidtwJLNDfR5RB-KE,512
|
|
12
|
+
flutter/flet_datatable2/lib/src/data_sources.dart,sha256=sUYTmguAwQUgcYVaCIAyiul4-rtdCEndSRyKubYw0Zg,15005
|
|
13
|
+
flutter/flet_datatable2/lib/src/datatable2.dart,sha256=BXtO36Lj0VaUw4zRMHPJkau_QedVQKXIFlactiaoOa0,14493
|
|
14
|
+
flet_datatable2-0.1.0.dev1.dist-info/METADATA,sha256=ExpXF8V68lmlkRLXnWF3LzkRstvxaq0gBVN60ASMfU4,1156
|
|
15
|
+
flet_datatable2-0.1.0.dev1.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
|
16
|
+
flet_datatable2-0.1.0.dev1.dist-info/top_level.txt,sha256=ayOiAgA5C3vuE20WBGkmr5PRn7Woh7s4NUMwVVWrxQQ,24
|
|
17
|
+
flet_datatable2-0.1.0.dev1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
TODO: Add your license here.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import 'package:flet/flet.dart';
|
|
2
|
+
|
|
3
|
+
import 'datatable2.dart';
|
|
4
|
+
|
|
5
|
+
CreateControlFactory createControl = (CreateControlArgs args) {
|
|
6
|
+
switch (args.control.type) {
|
|
7
|
+
case "datatable2":
|
|
8
|
+
return DataTable2Control(
|
|
9
|
+
key: args.key,
|
|
10
|
+
parent: args.parent,
|
|
11
|
+
control: args.control,
|
|
12
|
+
children: args.children,
|
|
13
|
+
parentDisabled: args.parentDisabled,
|
|
14
|
+
backend: args.backend);
|
|
15
|
+
default:
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
void ensureInitialized() {
|
|
21
|
+
// nothing to initialize
|
|
22
|
+
}
|