changed lots of thing bc pub upgrade
This commit is contained in:
@@ -49,7 +49,7 @@ class _FilterBarState extends State<FilterBar> {
|
||||
controller: widget.controller,
|
||||
isScrollable: widget.scrollable,
|
||||
physics: const BouncingScrollPhysics(),
|
||||
// Label
|
||||
// label
|
||||
labelStyle: Theme.of(context).textTheme.titleMedium!.copyWith(
|
||||
fontWeight: FontWeight.w600,
|
||||
fontSize: 15.0,
|
||||
@@ -57,7 +57,7 @@ class _FilterBarState extends State<FilterBar> {
|
||||
labelPadding: const EdgeInsets.symmetric(horizontal: 12, vertical: 3),
|
||||
labelColor: Theme.of(context).colorScheme.secondary,
|
||||
unselectedLabelColor: AppColors.of(context).text.withOpacity(0.65),
|
||||
// Indicator
|
||||
// indicator
|
||||
indicatorSize: TabBarIndicatorSize.tab,
|
||||
indicatorPadding: const EdgeInsets.symmetric(vertical: 8.0),
|
||||
indicator: BoxDecoration(
|
||||
@@ -65,7 +65,9 @@ class _FilterBarState extends State<FilterBar> {
|
||||
borderRadius: BorderRadius.circular(45.0),
|
||||
),
|
||||
overlayColor: WidgetStateProperty.all(const Color(0x00000000)),
|
||||
// Tabs
|
||||
// underline (bottom border)
|
||||
dividerColor: Colors.transparent,
|
||||
// tabs
|
||||
padding: EdgeInsets.zero,
|
||||
tabs: widget.censored
|
||||
? censoredItemsWidth
|
||||
|
||||
@@ -217,7 +217,7 @@ class GradeGraphState extends State<GradeGraph> {
|
||||
height: 158,
|
||||
child: subjectSpots.length > 1
|
||||
? Padding(
|
||||
padding: const EdgeInsets.only(top: 8.0, right: 8.0),
|
||||
padding: const EdgeInsets.only(top: 6.0, right: 0.0),
|
||||
child: LineChart(
|
||||
LineChartData(
|
||||
extraLinesData: ExtraLinesData(
|
||||
@@ -347,7 +347,7 @@ class GradeGraphState extends State<GradeGraph> {
|
||||
bottomTitles: AxisTitles(
|
||||
sideTitles: SideTitles(
|
||||
showTitles: true,
|
||||
reservedSize: 24,
|
||||
reservedSize: 25,
|
||||
getTitlesWidget: (value, meta) {
|
||||
if (value == meta.max || value == meta.min) {
|
||||
return Container();
|
||||
@@ -362,17 +362,14 @@ class GradeGraphState extends State<GradeGraph> {
|
||||
title =
|
||||
title.substring(0, min(title.length, 4));
|
||||
|
||||
return Padding(
|
||||
padding: const EdgeInsets.all(12.0),
|
||||
child: Text(
|
||||
title.toUpperCase(),
|
||||
style: TextStyle(
|
||||
color: AppColors.of(context)
|
||||
.text
|
||||
.withOpacity(.75),
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 14.0,
|
||||
),
|
||||
return Text(
|
||||
title.toUpperCase(),
|
||||
style: TextStyle(
|
||||
color: AppColors.of(context)
|
||||
.text
|
||||
.withOpacity(.75),
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 14.0,
|
||||
),
|
||||
);
|
||||
},
|
||||
@@ -425,14 +422,16 @@ class GradeGraphState extends State<GradeGraph> {
|
||||
sideTitles: SideTitles(
|
||||
showTitles: true,
|
||||
interval: 1.0,
|
||||
reservedSize: 26.0,
|
||||
getTitlesWidget: (value, meta) => Padding(
|
||||
padding: const EdgeInsets.all(16.0),
|
||||
padding: const EdgeInsets.only(
|
||||
left: 6.0, right: 10.0),
|
||||
child: Text(
|
||||
value.toInt().toString(),
|
||||
style: TextStyle(
|
||||
color: AppColors.of(context).text,
|
||||
fontWeight: FontWeight.bold,
|
||||
fontSize: 18.0,
|
||||
fontSize: 16.0,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -24,15 +24,15 @@ dependencies:
|
||||
fl_chart: ^0.68.0
|
||||
url_launcher: ^6.2.5
|
||||
flutter_material_color_picker: ^1.1.0+2
|
||||
photo_view: ^0.14.0
|
||||
photo_view: ^0.15.0
|
||||
flutter_linkify: ^6.0.0
|
||||
flutter_custom_tabs: ^2.0.0+1
|
||||
flutter_markdown: ^0.6.23
|
||||
flutter_markdown: ^0.7.2+1
|
||||
animations: ^2.0.11
|
||||
animated_list_plus: ^0.5.0
|
||||
confetti: ^0.7.0
|
||||
live_activities: ^1.9.1+1
|
||||
animated_flip_counter: ^0.2.5
|
||||
animated_flip_counter: ^0.3.4
|
||||
lottie: ^3.1.0
|
||||
rive: ^0.12.4
|
||||
animated_background: ^2.0.0
|
||||
@@ -48,12 +48,12 @@ dependencies:
|
||||
rounded_expansion_tile:
|
||||
git:
|
||||
url: https://github.com/kimaah/rounded_expansion_tile.git
|
||||
go_router: ^13.2.0
|
||||
go_router: ^14.2.0
|
||||
flutter_expandable_fab: ^2.0.0
|
||||
intl: ^0.19.0
|
||||
i18n_extension: ^12.0.1
|
||||
auto_size_text: ^3.0.0
|
||||
connectivity_plus: ^5.0.2
|
||||
connectivity_plus: ^6.0.3
|
||||
collection: ^1.18.0
|
||||
share_plus: ^9.0.0
|
||||
image_picker: ^1.0.7
|
||||
@@ -72,10 +72,10 @@ dependencies:
|
||||
carousel_slider: ^4.2.1
|
||||
flutter_portal: ^1.1.4
|
||||
webview_flutter: ^4.8.0
|
||||
file_picker: ^6.2.1
|
||||
file_picker: ^8.0.5
|
||||
|
||||
dev_dependencies:
|
||||
flutter_lints: ^3.0.1
|
||||
flutter_lints: ^4.0.0
|
||||
|
||||
flutter:
|
||||
uses-material-design: true
|
||||
|
||||
Reference in New Issue
Block a user