Skip to content

Commit

Permalink
upgrade flutter to 3.22.2 and fix errors (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaireDavis authored Jul 15, 2024
1 parent 9b67db3 commit 6e035f0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts_common/lib/src/chart/bar/base_bar_renderer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ class _ReversedSeriesIterable<S extends ImmutableSeries<Object?>>
/// order it was passed in for the grouping, but the series is flipped so that
/// the first series of that category is on the top of the stack.
class _ReversedSeriesIterator<S extends ImmutableSeries<Object?>>
extends Iterator<S> {
implements Iterator<S> {
final List<S> _list;
final _visitIndex = <int>[];
int? _current;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ abstract class TimeStepper {

/// Iterator with a reset function that can be used multiple times to avoid
/// object instantiation during the Android layout/draw phases.
abstract class TimeStepIterator extends Iterator<DateTime> {
abstract class TimeStepIterator implements Iterator<DateTime> {
/// Reset the iterator and set the tickIncrement to the specified value.
///
/// This method is provided so that the same iterator instance can be used for
Expand Down
4 changes: 2 additions & 2 deletions charts_common/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ author: Charts Team <charts_flutter@google.com>
homepage: https://github.com/google/charts

environment:
sdk: '>=2.12.0 <3.0.0'
sdk: ">=3.4.3 <4.0.0"

dependencies:
collection: ^1.14.5
intl: ">=0.15.2 <= 0.19.0"
intl: ">=0.15.2 <= 0.19.0"
logging: any
meta: ^1.1.1
vector_math: ^2.0.8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class SimpleLegendEntryLayout implements LegendEntryLayout {
: null;
if (isHidden) {
// Use a default color for hidden legend entries if none is provided.
color ??= Theme.of(context).textTheme.bodyText2!.color;
color ??= Theme.of(context).textTheme.bodyMedium!.color;
color = color!.withOpacity(0.26);
}

Expand Down
2 changes: 1 addition & 1 deletion charts_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ author: Charts Team <charts_flutter@google.com>
homepage: https://github.com/google/charts

environment:
sdk: '>=3.0.2 <4.0.0'
sdk: ">=3.4.3 <4.0.0"

dependencies:
# Pointing this to a local path allows for pointing to the latest code
Expand Down

0 comments on commit 6e035f0

Please sign in to comment.