diff --git a/lib/src/game_screen/character_modal.dart b/lib/src/game_screen/character_modal.dart index 897b9f1..d1e6517 100644 --- a/lib/src/game_screen/character_modal.dart +++ b/lib/src/game_screen/character_modal.dart @@ -60,9 +60,9 @@ class CharacterImage extends StatelessWidget { children: [ Positioned.fill( child: Container( - decoration: BoxDecoration( - color: const Color.fromRGBO(241, 241, 241, 1.0), - borderRadius: const BorderRadius.only( + decoration: const BoxDecoration( + color: Color.fromRGBO(241, 241, 241, 1.0), + borderRadius: BorderRadius.only( topLeft: Radius.circular(10.0), topRight: Radius.circular(10.0), ), @@ -110,9 +110,9 @@ class CharacterStats extends StatelessWidget { return Material( type: MaterialType.transparency, child: Container( - decoration: BoxDecoration( + decoration: const BoxDecoration( color: Colors.white, - borderRadius: const BorderRadius.only( + borderRadius: BorderRadius.only( bottomLeft: Radius.circular(10.0), bottomRight: Radius.circular(10.0), ), diff --git a/lib/src/game_screen/character_pool_page.dart b/lib/src/game_screen/character_pool_page.dart index 90bcdfb..045da27 100644 --- a/lib/src/game_screen/character_pool_page.dart +++ b/lib/src/game_screen/character_pool_page.dart @@ -46,9 +46,9 @@ class CharacterPoolPage extends StatelessWidget { child: IgnorePointer( child: Container( height: 128, - decoration: BoxDecoration( + decoration: const BoxDecoration( // Box decoration takes a gradient - gradient: const LinearGradient( + gradient: LinearGradient( begin: Alignment.topCenter, end: Alignment.bottomCenter, colors: [ diff --git a/lib/src/game_screen/project_picker_modal.dart b/lib/src/game_screen/project_picker_modal.dart index 76d9f03..cae1a0b 100644 --- a/lib/src/game_screen/project_picker_modal.dart +++ b/lib/src/game_screen/project_picker_modal.dart @@ -119,8 +119,7 @@ class ProjectPickerModal extends StatelessWidget { // Prune, flatten, and build up the linear array task list. var alpha = _buildTaskPickerSlivers(taskPool.alpha.tasks, _tasks, completed); - var beta = - _buildTaskPickerSlivers(taskPool.beta.tasks, _tasks, completed); + var beta = _buildTaskPickerSlivers(taskPool.beta.tasks, _tasks, completed); var v1 = _buildTaskPickerSlivers(taskPool.v1.tasks, _tasks, completed); var slivers = [ diff --git a/lib/src/game_screen/stats_page.dart b/lib/src/game_screen/stats_page.dart index e079a30..16535d5 100644 --- a/lib/src/game_screen/stats_page.dart +++ b/lib/src/game_screen/stats_page.dart @@ -5,8 +5,8 @@ class StatsPage extends StatelessWidget { Widget build(BuildContext context) { return Container( color: Colors.blue, - child: Center( - child: const Text( + child: const Center( + child: Text( "NOT IMPLEMENTED", style: TextStyle(color: Colors.white), ), diff --git a/lib/src/widgets/task_picker/task_picker_task.dart b/lib/src/widgets/task_picker/task_picker_task.dart index 49ee6da..4a9ec91 100644 --- a/lib/src/widgets/task_picker/task_picker_task.dart +++ b/lib/src/widgets/task_picker/task_picker_task.dart @@ -6,7 +6,7 @@ import 'package:flutter/material.dart'; // The display state for a widget in the task picker tree enum TaskDisplayState { complete, available, locked } -/// Task list item in the task picker. This widget is responsible for also +/// Task list item in the task picker. This widget is responsible for also /// drawing the set of lines in its row to build up a connected tree. class TaskPickerTask extends StatelessWidget { final TaskBlueprint blueprint; diff --git a/lib/src/widgets/work_items/task_list_item.dart b/lib/src/widgets/work_items/task_list_item.dart index e4eef19..02681e9 100644 --- a/lib/src/widgets/work_items/task_list_item.dart +++ b/lib/src/widgets/work_items/task_list_item.dart @@ -1,11 +1,8 @@ -import 'package:dev_rpg/src/shared_state/game/skill.dart'; import 'package:dev_rpg/src/shared_state/game/task.dart'; import 'package:dev_rpg/src/shared_state/game/work_item.dart'; import 'package:dev_rpg/src/style.dart'; -import 'package:dev_rpg/src/widgets/work_items/skill_dot.dart'; import 'package:dev_rpg/src/widgets/work_items/task_header.dart'; import 'package:dev_rpg/src/widgets/work_items/work_list_item.dart'; -import 'package:flare_flutter/flare_actor.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart';