Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI errors #37

Merged
merged 2 commits into from
Apr 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/src/game_screen/character_modal.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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),
),
Expand Down Expand Up @@ -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),
),
Expand Down
4 changes: 2 additions & 2 deletions lib/src/game_screen/character_pool_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
3 changes: 1 addition & 2 deletions lib/src/game_screen/project_picker_modal.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 = <Widget>[
Expand Down
4 changes: 2 additions & 2 deletions lib/src/game_screen/stats_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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),
),
Expand Down
2 changes: 1 addition & 1 deletion lib/src/widgets/task_picker/task_picker_task.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions lib/src/widgets/work_items/task_list_item.dart
Original file line number Diff line number Diff line change
@@ -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';

Expand Down