mirror of
https://github.com/Iconica-Development/flutter_timeline.git
synced 2025-05-18 10:13:43 +02:00
fix: use a minimum of Dart 3.4.3 and don't use 'any' for any dep version constraints
We're very inconsistent with marking what Flutter and Dart versions we support. The .fvmrc indicates Flutter 3.27.4 which comes with Dart 3.6.2, but the packages said 3.0 and 3.1. This commit brings all versions in line and sets the minimum to Dart 3.4.3. This version is chosen so it can be used as is with one of our projects that currently uses that Dart version.
This commit is contained in:
parent
a62935eb60
commit
4f0c36a1cc
8 changed files with 12 additions and 19 deletions
2
.fvmrc
2
.fvmrc
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"flutter": "3.27.4"
|
||||
"flutter": "3.22.2"
|
||||
}
|
|
@ -7,7 +7,8 @@ version: 5.1.0
|
|||
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||
|
||||
environment:
|
||||
sdk: ">=3.1.3 <4.0.0"
|
||||
sdk: ">=3.4.3 <4.0.0"
|
||||
flutter: ^3.22.2
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
@ -19,10 +20,9 @@ dependencies:
|
|||
flutter_timeline_interface:
|
||||
hosted: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||
version: ^5.1.0
|
||||
collection: any
|
||||
collection: ^1.18.0
|
||||
|
||||
dev_dependencies:
|
||||
flutter_lints: ^2.0.0
|
||||
flutter_iconica_analysis:
|
||||
git:
|
||||
url: https://github.com/Iconica-Development/flutter_iconica_analysis
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
//
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
@immutable
|
||||
class FirebaseTimelineOptions {
|
||||
const FirebaseTimelineOptions({
|
||||
this.usersCollectionName = 'users',
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
//
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
@immutable
|
||||
class FirebaseUserDocument {
|
||||
const FirebaseUserDocument({
|
||||
this.firstName,
|
||||
|
|
|
@ -8,7 +8,8 @@ version: 5.1.0
|
|||
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||
|
||||
environment:
|
||||
sdk: ">=3.1.3 <4.0.0"
|
||||
sdk: ">=3.4.3 <4.0.0"
|
||||
flutter: ^3.22.2
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
@ -23,7 +24,6 @@ dependencies:
|
|||
version: ^5.1.0
|
||||
|
||||
dev_dependencies:
|
||||
flutter_lints: ^2.0.0
|
||||
flutter_iconica_analysis:
|
||||
git:
|
||||
url: https://github.com/Iconica-Development/flutter_iconica_analysis
|
||||
|
|
|
@ -8,14 +8,13 @@ version: 5.1.0
|
|||
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||
|
||||
environment:
|
||||
sdk: '>=3.1.3 <4.0.0'
|
||||
sdk: '>=3.4.3 <4.0.0'
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
|
||||
dev_dependencies:
|
||||
flutter_lints: ^2.0.0
|
||||
flutter_iconica_analysis:
|
||||
git:
|
||||
url: https://github.com/Iconica-Development/flutter_iconica_analysis
|
||||
|
|
|
@ -8,15 +8,16 @@ version: 5.1.0
|
|||
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||
|
||||
environment:
|
||||
sdk: ">=3.1.3 <4.0.0"
|
||||
sdk: ">=3.4.3 <4.0.0"
|
||||
flutter: ^3.22.2
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
intl: any
|
||||
intl: ^0.19.0
|
||||
cached_network_image: ^3.2.2
|
||||
dotted_border: ^2.1.0
|
||||
collection: any
|
||||
collection: ^1.18.0
|
||||
flutter_svg: ^2.0.10+1
|
||||
flutter_timeline_interface:
|
||||
hosted: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||
|
@ -26,7 +27,6 @@ dependencies:
|
|||
version: ^4.0.0
|
||||
|
||||
dev_dependencies:
|
||||
flutter_lints: ^2.0.0
|
||||
flutter_iconica_analysis:
|
||||
git:
|
||||
url: https://github.com/Iconica-Development/flutter_iconica_analysis
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
name: flutter_timeline_workspace
|
||||
|
||||
environment:
|
||||
sdk: '>=3.0.0 <4.0.0'
|
||||
sdk: '>=3.4.3 <4.0.0'
|
||||
dev_dependencies:
|
||||
melos: ^3.0.1
|
||||
|
|
Loading…
Reference in a new issue