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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
android
org.benoitharrault.sortgame
Commits
12207ae4
Commit
12207ae4
authored
Jul 6, 2022
by
Benoît Harrault
Browse files
Options
Downloads
Patches
Plain Diff
Clean some code
parent
ccd1b18a
No related branches found
No related tags found
1 merge request
!9
Resolve "Clean code"
Pipeline
#2966
passed
Jul 6, 2022
Stage: update
Stage: build-debug
Changes
4
Pipelines
1
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 @
12207ae4
org.gradle.jvmargs
=
-Xmx1536M
org.gradle.jvmargs
=
-Xmx1536M
android.useAndroidX
=
true
android.useAndroidX
=
true
android.enableJetifier
=
true
android.enableJetifier
=
true
app.versionName
=
0.0.
7
app.versionName
=
0.0.
8
app.versionCode
=
7
app.versionCode
=
8
This diff is collapsed.
Click to expand it.
lib/provider/data.dart
+
0
−
2
View file @
12207ae4
import
'package:flutter/foundation.dart'
;
import
'package:flutter/foundation.dart'
;
class
Data
extends
ChangeNotifier
{
class
Data
extends
ChangeNotifier
{
// randomization
bool
_searchingImage
=
false
;
bool
_searchingImage
=
false
;
String
_image
=
''
;
String
_image
=
''
;
...
...
This diff is collapsed.
Click to expand it.
lib/screens/home.dart
+
0
−
5
View file @
12207ae4
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:provider/provider.dart'
;
import
'../provider/data.dart'
;
class
Home
extends
StatelessWidget
{
class
Home
extends
StatelessWidget
{
static
const
String
id
=
'home'
;
static
const
String
id
=
'home'
;
@override
@override
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
Data
_myProvider
=
Provider
.
of
<
Data
>(
context
);
return
Scaffold
(
return
Scaffold
(
appBar:
AppBar
(
appBar:
AppBar
(
title:
Text
(
'Sorting game'
),
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
sign in
to comment