Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
org.benoitharrault.sortgame
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
android
org.benoitharrault.sortgame
Commits
2f22ca26
Commit
2f22ca26
authored
2 years ago
by
Benoît Harrault
Browse files
Options
Downloads
Plain Diff
Merge branch '9-clean-code' into 'master'
Resolve "Clean code" Closes
#9
See merge request
!9
parents
ccd1b18a
12207ae4
No related branches found
No related tags found
1 merge request
!9
Resolve "Clean code"
Pipeline
#2969
passed
2 years ago
Stage: deploy
Changes
4
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
android/gradle.properties
+2
-2
2 additions, 2 deletions
android/gradle.properties
lib/provider/data.dart
+0
-2
0 additions, 2 deletions
lib/provider/data.dart
lib/screens/home.dart
+0
-5
0 additions, 5 deletions
lib/screens/home.dart
test/widget_test.dart
+0
-14
0 additions, 14 deletions
test/widget_test.dart
with
2 additions
and
23 deletions
android/gradle.properties
+
2
−
2
View file @
2f22ca26
org.gradle.jvmargs
=
-Xmx1536M
android.useAndroidX
=
true
android.enableJetifier
=
true
app.versionName
=
0.0.
7
app.versionCode
=
7
app.versionName
=
0.0.
8
app.versionCode
=
8
This diff is collapsed.
Click to expand it.
lib/provider/data.dart
+
0
−
2
View file @
2f22ca26
import
'package:flutter/foundation.dart'
;
class
Data
extends
ChangeNotifier
{
// randomization
bool
_searchingImage
=
false
;
String
_image
=
''
;
...
...
This diff is collapsed.
Click to expand it.
lib/screens/home.dart
+
0
−
5
View file @
2f22ca26
import
'package:flutter/material.dart'
;
import
'package:provider/provider.dart'
;
import
'../provider/data.dart'
;
class
Home
extends
StatelessWidget
{
static
const
String
id
=
'home'
;
@override
Widget
build
(
BuildContext
context
)
{
Data
_myProvider
=
Provider
.
of
<
Data
>(
context
);
return
Scaffold
(
appBar:
AppBar
(
title:
Text
(
'Sorting game'
),
...
...
This diff is collapsed.
Click to expand it.
test/widget_test.dart
deleted
100644 → 0
+
0
−
14
View file @
ccd1b18a
// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility that Flutter provides. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.
import
'package:flutter/material.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:sortgame/main.dart'
;
void
main
()
{
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment