chore: ready the package for deployment to the pub server

This commit is contained in:
Bart Ribbers 2024-07-11 19:13:39 +02:00
parent 9ce026bb18
commit 238d9855b0
5 changed files with 11 additions and 5 deletions

View file

@ -29,4 +29,8 @@
## [1.4.0] - 13 November 2023
* Add the option for sorting the blocks by their id.
* Add the option for sorting the blocks by their id.
## [2.0.0] - 11 July 2024
* Rename main entry point to flutter_timetable

View file

@ -3,7 +3,7 @@
// SPDX-License-Identifier: BSD-3-Clause
import 'package:flutter/material.dart';
import 'package:flutter_timetable/timetable.dart';
import 'package:flutter_timetable/flutter_timetable.dart';
void main() {
runApp(const MaterialApp(home: TimetableDemo()));

View file

@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: BSD-3-Clause
library timetable;
library flutter_timetable;
export 'src/models/table_theme.dart';
export 'src/models/time_block.dart';

View file

@ -1,8 +1,10 @@
name: flutter_timetable
description: Flutter package to create a Timetable Widget that display blocks of widgets inside a timetable.
version: 1.4.0
version: 2.0.0
repository: https://github.com/Iconica-Development/timetable
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
environment:
sdk: ">=3.0.0 <4.0.0"
flutter: ">=1.17.0"

View file

@ -5,7 +5,7 @@
import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:flutter_timetable/src/block_service.dart';
import 'package:flutter_timetable/timetable.dart';
import 'package:flutter_timetable/flutter_timetable.dart';
void main() {
group('test combineBlocksWithId', () {