Skip to content

Commit 225ec11

Browse files
committed
resolved name conflicts for s
1 parent 592a624 commit 225ec11

File tree

77 files changed

+3959
-120
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+3959
-120
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,13 @@
55
- Sorting functionality by clicking on column headers.
66
- Filtering capability to narrow down data based on criteria.
77
- Sticky header that remains visible while scrolling.
8+
9+
## 1.0.1
10+
11+
- Added example
12+
- Added type cast to pass `pub.dev` analysis
13+
14+
## 1.0.2
15+
16+
- resolved name conflicts for `TableColumnWidth`s
17+
- exposed it to used

example/.gitignore

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
migrate_working_dir/
12+
13+
# IntelliJ related
14+
*.iml
15+
*.ipr
16+
*.iws
17+
.idea/
18+
19+
# The .vscode folder contains launch configuration and tasks you configure in
20+
# VS Code which you may wish to be included in version control, so this line
21+
# is commented out by default.
22+
#.vscode/
23+
24+
# Flutter/Dart/Pub related
25+
**/doc/api/
26+
**/ios/Flutter/.last_build_id
27+
.dart_tool/
28+
.flutter-plugins
29+
.flutter-plugins-dependencies
30+
.packages
31+
.pub-cache/
32+
.pub/
33+
/build/
34+
35+
# Symbolication related
36+
app.*.symbols
37+
38+
# Obfuscation related
39+
app.*.map.json
40+
41+
# Android Studio will place build artifacts here
42+
/android/app/debug
43+
/android/app/profile
44+
/android/app/release

example/.metadata

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled and should not be manually edited.
5+
6+
version:
7+
revision: "5b12b7467fcbbdc7351d76690ce8a8693e804179"
8+
channel: "master"
9+
10+
project_type: app
11+
12+
# Tracks metadata for the flutter migrate command
13+
migration:
14+
platforms:
15+
- platform: root
16+
create_revision: 5b12b7467fcbbdc7351d76690ce8a8693e804179
17+
base_revision: 5b12b7467fcbbdc7351d76690ce8a8693e804179
18+
- platform: android
19+
create_revision: 5b12b7467fcbbdc7351d76690ce8a8693e804179
20+
base_revision: 5b12b7467fcbbdc7351d76690ce8a8693e804179
21+
- platform: ios
22+
create_revision: 5b12b7467fcbbdc7351d76690ce8a8693e804179
23+
base_revision: 5b12b7467fcbbdc7351d76690ce8a8693e804179
24+
- platform: linux
25+
create_revision: 5b12b7467fcbbdc7351d76690ce8a8693e804179
26+
base_revision: 5b12b7467fcbbdc7351d76690ce8a8693e804179
27+
- platform: macos
28+
create_revision: 5b12b7467fcbbdc7351d76690ce8a8693e804179
29+
base_revision: 5b12b7467fcbbdc7351d76690ce8a8693e804179
30+
- platform: web
31+
create_revision: 5b12b7467fcbbdc7351d76690ce8a8693e804179
32+
base_revision: 5b12b7467fcbbdc7351d76690ce8a8693e804179
33+
- platform: windows
34+
create_revision: 5b12b7467fcbbdc7351d76690ce8a8693e804179
35+
base_revision: 5b12b7467fcbbdc7351d76690ce8a8693e804179
36+
37+
# User provided section
38+
39+
# List of Local paths (relative to this file) that should be
40+
# ignored by the migrate tool.
41+
#
42+
# Files that are not part of the templates will be ignored by default.
43+
unmanaged_files:
44+
- 'lib/main.dart'
45+
- 'ios/Runner.xcodeproj/project.pbxproj'

example/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# example
2+
3+
A new Flutter project.

example/analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include: package:flutter_lints/flutter.yaml
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
class PlayerDataModel {
2+
final int id;
3+
final String name;
4+
final int age;
5+
final String nationality;
6+
final String club;
7+
final String position;
8+
final int? goalsScored;
9+
final int? assists;
10+
final int? cleanSheets;
11+
12+
PlayerDataModel({
13+
required this.id,
14+
required this.name,
15+
required this.age,
16+
required this.nationality,
17+
required this.club,
18+
required this.position,
19+
this.goalsScored,
20+
this.assists,
21+
this.cleanSheets,
22+
});
23+
24+
factory PlayerDataModel.fromJson(Map<String, dynamic> json) =>
25+
PlayerDataModel(
26+
id: json["id"],
27+
name: json["name"],
28+
age: json["age"],
29+
nationality: json["nationality"],
30+
club: json["club"],
31+
position: json["position"],
32+
goalsScored: json["goals_scored"],
33+
assists: json["assists"],
34+
cleanSheets: json["clean_sheets"],
35+
);
36+
}

0 commit comments

Comments
 (0)