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