mirror of
https://github.com/Iconica-Development/flutter_timeline.git
synced 2025-05-19 02:23:46 +02:00
chore: update version to 7.0.0
This commit is contained in:
parent
6facc6e35c
commit
beadb03770
8 changed files with 14 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
||||||
name: firebase_timeline_repository
|
name: firebase_timeline_repository
|
||||||
description: "A new Flutter package project."
|
description: "A new Flutter package project."
|
||||||
version: 6.0.0
|
version: 7.0.0
|
||||||
publish_to: none
|
publish_to: none
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
@ -14,7 +14,7 @@ dependencies:
|
||||||
git:
|
git:
|
||||||
url: https://github.com/Iconica-Development/flutter_timeline
|
url: https://github.com/Iconica-Development/flutter_timeline
|
||||||
path: packages/timeline_repository_interface
|
path: packages/timeline_repository_interface
|
||||||
ref: 6.0.0
|
ref: 7.0.0
|
||||||
|
|
||||||
rxdart: any
|
rxdart: any
|
||||||
cloud_firestore: ^5.4.4
|
cloud_firestore: ^5.4.4
|
||||||
|
|
|
@ -157,7 +157,7 @@ class CategoryOption extends StatelessWidget {
|
||||||
border: Border.all(
|
border: Border.all(
|
||||||
width: 2,
|
width: 2,
|
||||||
color: addCategory
|
color: addCategory
|
||||||
? Colors.black.withOpacity(0.3)
|
? Colors.black.withValues(alpha: 0.3)
|
||||||
: theme.primaryColor,
|
: theme.primaryColor,
|
||||||
),
|
),
|
||||||
borderRadius: BorderRadius.circular(8),
|
borderRadius: BorderRadius.circular(8),
|
||||||
|
@ -169,7 +169,7 @@ class CategoryOption extends StatelessWidget {
|
||||||
Icon(
|
Icon(
|
||||||
Icons.add,
|
Icons.add,
|
||||||
color: addCategory
|
color: addCategory
|
||||||
? Colors.black.withOpacity(0.3)
|
? Colors.black.withValues(alpha: 0.3)
|
||||||
: theme.primaryColor,
|
: theme.primaryColor,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -183,7 +183,7 @@ class CategoryOption extends StatelessWidget {
|
||||||
category,
|
category,
|
||||||
style: theme.textTheme.titleMedium?.copyWith(
|
style: theme.textTheme.titleMedium?.copyWith(
|
||||||
color: addCategory
|
color: addCategory
|
||||||
? Colors.black.withOpacity(0.3)
|
? Colors.black.withValues(alpha: 0.3)
|
||||||
: Colors.black,
|
: Colors.black,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
@ -51,7 +51,7 @@ class _ImagePickerWidgetState extends State<ImagePickerWidget> {
|
||||||
},
|
},
|
||||||
child: DecoratedBox(
|
child: DecoratedBox(
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: Colors.black.withOpacity(0.5),
|
color: Colors.black.withValues(alpha: 0.5),
|
||||||
borderRadius: BorderRadius.circular(8.0),
|
borderRadius: BorderRadius.circular(8.0),
|
||||||
),
|
),
|
||||||
child: const Icon(
|
child: const Icon(
|
||||||
|
|
|
@ -52,7 +52,7 @@ class PostInfoTextfield extends StatelessWidget {
|
||||||
),
|
),
|
||||||
hintText: hintText,
|
hintText: hintText,
|
||||||
hintStyle: theme.textTheme.bodySmall!.copyWith(
|
hintStyle: theme.textTheme.bodySmall!.copyWith(
|
||||||
color: theme.textTheme.bodySmall!.color!.withOpacity(0.5),
|
color: theme.textTheme.bodySmall!.color!.withValues(alpha: 0.5),
|
||||||
),
|
),
|
||||||
fillColor: Colors.white,
|
fillColor: Colors.white,
|
||||||
filled: true,
|
filled: true,
|
||||||
|
|
|
@ -60,7 +60,8 @@ class ReactionTextfield extends StatelessWidget {
|
||||||
),
|
),
|
||||||
hintText: options.translations.commentFieldHint,
|
hintText: options.translations.commentFieldHint,
|
||||||
hintStyle: theme.textTheme.bodyMedium!.copyWith(
|
hintStyle: theme.textTheme.bodyMedium!.copyWith(
|
||||||
color: theme.textTheme.bodyMedium!.color!.withOpacity(0.5),
|
color: theme.textTheme.bodyMedium!.color!
|
||||||
|
.withValues(alpha: 0.5),
|
||||||
),
|
),
|
||||||
fillColor: Colors.white,
|
fillColor: Colors.white,
|
||||||
filled: true,
|
filled: true,
|
||||||
|
|
|
@ -250,7 +250,7 @@ class _TimelinePostWidgetState extends State<TimelinePostWidget> {
|
||||||
Text(
|
Text(
|
||||||
widget.options.dateFormat(context).format(widget.post.createdAt),
|
widget.options.dateFormat(context).format(widget.post.createdAt),
|
||||||
style: theme.textTheme.bodySmall?.copyWith(
|
style: theme.textTheme.bodySmall?.copyWith(
|
||||||
color: Colors.black.withOpacity(0.5),
|
color: Colors.black.withValues(alpha: 0.5),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (widget.post.reactionEnabled)
|
if (widget.post.reactionEnabled)
|
||||||
|
@ -268,7 +268,7 @@ class _TimelinePostWidgetState extends State<TimelinePostWidget> {
|
||||||
child: Text(
|
child: Text(
|
||||||
translations.viewPostTitle,
|
translations.viewPostTitle,
|
||||||
style: theme.textTheme.titleSmall
|
style: theme.textTheme.titleSmall
|
||||||
?.copyWith(color: Colors.black.withOpacity(0.5)),
|
?.copyWith(color: Colors.black.withValues(alpha: 0.5)),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: flutter_timeline
|
name: flutter_timeline
|
||||||
description: "A new Flutter package project."
|
description: "A new Flutter package project."
|
||||||
version: 6.0.0
|
version: 7.0.0
|
||||||
publish_to: none
|
publish_to: none
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
@ -18,7 +18,7 @@ dependencies:
|
||||||
git:
|
git:
|
||||||
url: https://github.com/Iconica-Development/flutter_timeline
|
url: https://github.com/Iconica-Development/flutter_timeline
|
||||||
path: packages/timeline_repository_interface
|
path: packages/timeline_repository_interface
|
||||||
ref: 6.0.0
|
ref: 7.0.0
|
||||||
|
|
||||||
cached_network_image: ^3.4.1
|
cached_network_image: ^3.4.1
|
||||||
intl: 0.19.0
|
intl: 0.19.0
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: timeline_repository_interface
|
name: timeline_repository_interface
|
||||||
description: "A new Flutter package project."
|
description: "A new Flutter package project."
|
||||||
version: 6.0.0
|
version: 7.0.0
|
||||||
publish_to: none
|
publish_to: none
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue