feat: publish to server

This commit is contained in:
mike doornenbal 2024-08-01 13:39:38 +02:00
parent 8188c179fb
commit 7aef9d9617
18 changed files with 35 additions and 69 deletions

View file

@ -0,0 +1 @@
../../CHANGELOG.md

View file

@ -0,0 +1 @@
../../LICENSE

View file

@ -0,0 +1 @@
../../README.md

View file

@ -16,25 +16,6 @@ var options = TimelineOptions(
paddings: TimelinePaddingOptions(
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(

View file

@ -3,9 +3,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later
name: flutter_timeline
description: Visual elements and interface combined into one package
version: 4.1.0
publish_to: none
version: 5.0.0
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
environment:
sdk: ">=3.1.3 <4.0.0"
@ -14,22 +13,14 @@ dependencies:
flutter:
sdk: flutter
flutter_timeline_view:
git:
url: https://github.com/Iconica-Development/flutter_timeline
path: packages/flutter_timeline_view
ref: 4.1.0
hosted: https://forgejo.internal.iconica.nl/api/packages/internal/pub
version: ^5.0.0
flutter_timeline_interface:
git:
url: https://github.com/Iconica-Development/flutter_timeline
path: packages/flutter_timeline_interface
ref: 4.1.0
hosted: https://forgejo.internal.iconica.nl/api/packages/internal/pub
version: ^5.0.0
collection: any
dependency_overrides:
flutter_timeline_view:
path: ../flutter_timeline_view
flutter_timeline_interface:
path: ../flutter_timeline_interface
dev_dependencies:
flutter_lints: ^2.0.0
flutter_iconica_analysis:

View file

@ -0,0 +1 @@
../../CHANGELOG.md

View file

@ -0,0 +1 @@
../../LICENSE

View file

@ -0,0 +1 @@
../../README.md

View file

@ -4,9 +4,8 @@
name: flutter_timeline_firebase
description: Implementation of the Flutter Timeline interface for Firebase.
version: 4.1.0
publish_to: none
version: 5.0.0
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
environment:
sdk: ">=3.1.3 <4.0.0"
@ -18,18 +17,10 @@ dependencies:
firebase_core: ^2.22.0
firebase_storage: ^11.5.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
dependency_overrides:
flutter_timeline_interface:
path: ../flutter_timeline_interface
hosted: https://forgejo.internal.iconica.nl/api/packages/internal/pub
version: ^5.0.0
dev_dependencies:
flutter_lints: ^2.0.0

View file

@ -0,0 +1 @@
../../CHANGELOG.md

View file

@ -0,0 +1 @@
../../LICENSE

View file

@ -0,0 +1 @@
../../README.md

View file

@ -4,9 +4,8 @@
name: flutter_timeline_interface
description: Interface for the service of the Flutter Timeline component
version: 4.1.0
publish_to: none
version: 5.0.0
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
environment:
sdk: '>=3.1.3 <4.0.0'

View file

@ -0,0 +1 @@
../../CHANGELOG.md

View file

@ -0,0 +1 @@
../../LICENSE

View file

@ -0,0 +1 @@
../../README.md

View file

@ -315,7 +315,9 @@ class _TimelinePostWidgetState extends State<TimelinePostWidget> {
] else ...[
Text(
'${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:
widget.options.theme.textStyles.listPostLikeTitleAndAmount ??
theme.textTheme.titleSmall!.copyWith(

View file

@ -4,9 +4,8 @@
name: flutter_timeline_view
description: Visual elements of the Flutter Timeline Component
version: 4.1.0
publish_to: none
version: 5.0.0
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
environment:
sdk: ">=3.1.3 <4.0.0"
@ -17,22 +16,14 @@ dependencies:
intl: any
cached_network_image: ^3.2.2
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
flutter_svg: ^2.0.10+1
dependency_overrides:
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:
flutter_lints: ^2.0.0
@ -44,4 +35,3 @@ dev_dependencies:
flutter:
assets:
- assets/