mirror of
https://github.com/Iconica-Development/flutter_timeline.git
synced 2025-05-19 02:23:46 +02:00
feat: publish to server
This commit is contained in:
parent
8188c179fb
commit
7aef9d9617
18 changed files with 35 additions and 69 deletions
1
packages/flutter_timeline/CHANGELOG.md
Normal file
1
packages/flutter_timeline/CHANGELOG.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
../../CHANGELOG.md
|
1
packages/flutter_timeline/LICENSE
Normal file
1
packages/flutter_timeline/LICENSE
Normal file
|
@ -0,0 +1 @@
|
||||||
|
../../LICENSE
|
1
packages/flutter_timeline/README.md
Normal file
1
packages/flutter_timeline/README.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
../../README.md
|
|
@ -16,25 +16,6 @@ var options = TimelineOptions(
|
||||||
paddings: TimelinePaddingOptions(
|
paddings: TimelinePaddingOptions(
|
||||||
mainPadding: const EdgeInsets.all(20).copyWith(top: 28),
|
mainPadding: const EdgeInsets.all(20).copyWith(top: 28),
|
||||||
),
|
),
|
||||||
categoriesOptions: CategoriesOptions(
|
|
||||||
categoriesBuilder: (context) => [
|
|
||||||
const TimelineCategory(
|
|
||||||
key: null,
|
|
||||||
title: 'All',
|
|
||||||
icon: SizedBox.shrink(),
|
|
||||||
),
|
|
||||||
const TimelineCategory(
|
|
||||||
key: 'category1',
|
|
||||||
title: 'Category 1',
|
|
||||||
icon: SizedBox.shrink(),
|
|
||||||
),
|
|
||||||
const TimelineCategory(
|
|
||||||
key: 'category2',
|
|
||||||
title: 'Category 2',
|
|
||||||
icon: SizedBox.shrink(),
|
|
||||||
),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
|
|
||||||
void navigateToOverview(
|
void navigateToOverview(
|
||||||
|
|
|
@ -3,9 +3,8 @@
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
name: flutter_timeline
|
name: flutter_timeline
|
||||||
description: Visual elements and interface combined into one package
|
description: Visual elements and interface combined into one package
|
||||||
version: 4.1.0
|
version: 5.0.0
|
||||||
|
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||||
publish_to: none
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=3.1.3 <4.0.0"
|
sdk: ">=3.1.3 <4.0.0"
|
||||||
|
@ -14,22 +13,14 @@ dependencies:
|
||||||
flutter:
|
flutter:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
flutter_timeline_view:
|
flutter_timeline_view:
|
||||||
git:
|
hosted: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||||
url: https://github.com/Iconica-Development/flutter_timeline
|
version: ^5.0.0
|
||||||
path: packages/flutter_timeline_view
|
|
||||||
ref: 4.1.0
|
|
||||||
|
|
||||||
flutter_timeline_interface:
|
flutter_timeline_interface:
|
||||||
git:
|
hosted: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||||
url: https://github.com/Iconica-Development/flutter_timeline
|
version: ^5.0.0
|
||||||
path: packages/flutter_timeline_interface
|
|
||||||
ref: 4.1.0
|
|
||||||
collection: any
|
collection: any
|
||||||
dependency_overrides:
|
|
||||||
flutter_timeline_view:
|
|
||||||
path: ../flutter_timeline_view
|
|
||||||
flutter_timeline_interface:
|
|
||||||
path: ../flutter_timeline_interface
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_lints: ^2.0.0
|
flutter_lints: ^2.0.0
|
||||||
flutter_iconica_analysis:
|
flutter_iconica_analysis:
|
||||||
|
|
1
packages/flutter_timeline_firebase/CHANGELOG.md
Normal file
1
packages/flutter_timeline_firebase/CHANGELOG.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
../../CHANGELOG.md
|
1
packages/flutter_timeline_firebase/LICENSE
Normal file
1
packages/flutter_timeline_firebase/LICENSE
Normal file
|
@ -0,0 +1 @@
|
||||||
|
../../LICENSE
|
1
packages/flutter_timeline_firebase/README.md
Normal file
1
packages/flutter_timeline_firebase/README.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
../../README.md
|
|
@ -4,9 +4,8 @@
|
||||||
|
|
||||||
name: flutter_timeline_firebase
|
name: flutter_timeline_firebase
|
||||||
description: Implementation of the Flutter Timeline interface for Firebase.
|
description: Implementation of the Flutter Timeline interface for Firebase.
|
||||||
version: 4.1.0
|
version: 5.0.0
|
||||||
|
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||||
publish_to: none
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=3.1.3 <4.0.0"
|
sdk: ">=3.1.3 <4.0.0"
|
||||||
|
@ -18,18 +17,10 @@ dependencies:
|
||||||
firebase_core: ^2.22.0
|
firebase_core: ^2.22.0
|
||||||
firebase_storage: ^11.5.1
|
firebase_storage: ^11.5.1
|
||||||
uuid: ^4.2.1
|
uuid: ^4.2.1
|
||||||
|
|
||||||
flutter_timeline_interface:
|
|
||||||
git:
|
|
||||||
url: https://github.com/Iconica-Development/flutter_timeline
|
|
||||||
path: packages/flutter_timeline_interface
|
|
||||||
ref: 4.1.0
|
|
||||||
collection: ^1.18.0
|
collection: ^1.18.0
|
||||||
|
|
||||||
dependency_overrides:
|
|
||||||
flutter_timeline_interface:
|
flutter_timeline_interface:
|
||||||
path: ../flutter_timeline_interface
|
hosted: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||||
|
version: ^5.0.0
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_lints: ^2.0.0
|
flutter_lints: ^2.0.0
|
||||||
|
|
1
packages/flutter_timeline_interface/CHANGELOG.md
Normal file
1
packages/flutter_timeline_interface/CHANGELOG.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
../../CHANGELOG.md
|
1
packages/flutter_timeline_interface/LICENSE
Normal file
1
packages/flutter_timeline_interface/LICENSE
Normal file
|
@ -0,0 +1 @@
|
||||||
|
../../LICENSE
|
1
packages/flutter_timeline_interface/README.md
Normal file
1
packages/flutter_timeline_interface/README.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
../../README.md
|
|
@ -4,9 +4,8 @@
|
||||||
|
|
||||||
name: flutter_timeline_interface
|
name: flutter_timeline_interface
|
||||||
description: Interface for the service of the Flutter Timeline component
|
description: Interface for the service of the Flutter Timeline component
|
||||||
version: 4.1.0
|
version: 5.0.0
|
||||||
|
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||||
publish_to: none
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=3.1.3 <4.0.0'
|
sdk: '>=3.1.3 <4.0.0'
|
||||||
|
|
1
packages/flutter_timeline_view/CHANGELOG.md
Normal file
1
packages/flutter_timeline_view/CHANGELOG.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
../../CHANGELOG.md
|
1
packages/flutter_timeline_view/LICENSE
Normal file
1
packages/flutter_timeline_view/LICENSE
Normal file
|
@ -0,0 +1 @@
|
||||||
|
../../LICENSE
|
1
packages/flutter_timeline_view/README.md
Normal file
1
packages/flutter_timeline_view/README.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
../../README.md
|
|
@ -315,7 +315,9 @@ class _TimelinePostWidgetState extends State<TimelinePostWidget> {
|
||||||
] else ...[
|
] else ...[
|
||||||
Text(
|
Text(
|
||||||
'${widget.post.likes} '
|
'${widget.post.likes} '
|
||||||
'${widget.post.likes > 1 ? widget.options.translations.multipleLikesTitle : widget.options.translations.oneLikeTitle}',
|
'${widget.post.likes > 1
|
||||||
|
? widget.options.translations.multipleLikesTitle
|
||||||
|
: widget.options.translations.oneLikeTitle}',
|
||||||
style:
|
style:
|
||||||
widget.options.theme.textStyles.listPostLikeTitleAndAmount ??
|
widget.options.theme.textStyles.listPostLikeTitleAndAmount ??
|
||||||
theme.textTheme.titleSmall!.copyWith(
|
theme.textTheme.titleSmall!.copyWith(
|
||||||
|
|
|
@ -4,9 +4,8 @@
|
||||||
|
|
||||||
name: flutter_timeline_view
|
name: flutter_timeline_view
|
||||||
description: Visual elements of the Flutter Timeline Component
|
description: Visual elements of the Flutter Timeline Component
|
||||||
version: 4.1.0
|
version: 5.0.0
|
||||||
|
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||||
publish_to: none
|
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=3.1.3 <4.0.0"
|
sdk: ">=3.1.3 <4.0.0"
|
||||||
|
@ -17,22 +16,14 @@ dependencies:
|
||||||
intl: any
|
intl: any
|
||||||
cached_network_image: ^3.2.2
|
cached_network_image: ^3.2.2
|
||||||
dotted_border: ^2.1.0
|
dotted_border: ^2.1.0
|
||||||
|
|
||||||
flutter_timeline_interface:
|
|
||||||
git:
|
|
||||||
url: https://github.com/Iconica-Development/flutter_timeline
|
|
||||||
path: packages/flutter_timeline_interface
|
|
||||||
ref: 4.1.0
|
|
||||||
flutter_image_picker:
|
|
||||||
git:
|
|
||||||
url: https://github.com/Iconica-Development/flutter_image_picker
|
|
||||||
ref: 1.0.5
|
|
||||||
collection: any
|
collection: any
|
||||||
flutter_svg: ^2.0.10+1
|
flutter_svg: ^2.0.10+1
|
||||||
|
|
||||||
dependency_overrides:
|
|
||||||
flutter_timeline_interface:
|
flutter_timeline_interface:
|
||||||
path: ../flutter_timeline_interface
|
hosted: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||||
|
version: ^5.0.0
|
||||||
|
flutter_image_picker:
|
||||||
|
hosted: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||||
|
version: ^1.0.5
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_lints: ^2.0.0
|
flutter_lints: ^2.0.0
|
||||||
|
@ -44,4 +35,3 @@ dev_dependencies:
|
||||||
flutter:
|
flutter:
|
||||||
assets:
|
assets:
|
||||||
- assets/
|
- assets/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue