Modif pour lancer sous android

pull/1/head
Enzo 2 years ago
parent 3e89a2d3fd
commit 8533c7d503

@ -24,6 +24,7 @@ if (flutterVersionName == null) {
android { android {
namespace "com.example.smartfit_app_mobile" namespace "com.example.smartfit_app_mobile"
//compileSdkVersion localProperties.getProperty('flutter.compileSdkVersion').toInteger()
compileSdkVersion flutter.compileSdkVersion compileSdkVersion flutter.compileSdkVersion
ndkVersion flutter.ndkVersion ndkVersion flutter.ndkVersion
@ -45,8 +46,11 @@ android {
applicationId "com.example.smartfit_app_mobile" applicationId "com.example.smartfit_app_mobile"
// You can update the following values to match your application needs. // You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion flutter.minSdkVersion //minSdkVersion flutter.minSdkVersion
minSdkVersion localProperties.getProperty('flutter.minSdkVersion').toInteger()
//minSdkVersion localProperties.getProperty('flutter.minSdkVersion').toInteger()
targetSdkVersion flutter.targetSdkVersion targetSdkVersion flutter.targetSdkVersion
//argetSdkVersion localProperties.getProperty('flutter.targetSdkVersion').toInteger()
versionCode flutterVersionCode.toInteger() versionCode flutterVersionCode.toInteger()
versionName flutterVersionName versionName flutterVersionName
} }

@ -1,5 +1,5 @@
buildscript { buildscript {
ext.kotlin_version = '1.7.10' ext.kotlin_version = '1.9.0'
repositories { repositories {
google() google()
mavenCentral() mavenCentral()

@ -43,7 +43,7 @@ class _HomeViewState extends State<HomeView> {
"progress": 0.7 "progress": 0.7
}, },
]; ];
List<int> showingTooltipOnSpots = [21]; List<int> showingTooltipOnSpots = [0];
List<FlSpot> allSpots = [FlSpot(0, 20)]; List<FlSpot> allSpots = [FlSpot(0, 20)];
@ -296,7 +296,8 @@ class _HomeViewState extends State<HomeView> {
child: Text( child: Text(
"78 BPM", "78 BPM",
style: TextStyle( style: TextStyle(
color: TColor.primaryColor1.withOpacity(0.7), color:
TColor.primaryColor1.withOpacity(0.7),
fontWeight: FontWeight.w700, fontWeight: FontWeight.w700,
fontSize: 18), fontSize: 18),
), ),
@ -871,7 +872,6 @@ class _HomeViewState extends State<HomeView> {
SizedBox( SizedBox(
height: media.width * 0.05, height: media.width * 0.05,
), ),
SizedBox( SizedBox(
height: media.width * 0.1, height: media.width * 0.1,
), ),
@ -889,7 +889,6 @@ class _HomeViewState extends State<HomeView> {
}); });
} }
List<PieChartSectionData> showingSections() { List<PieChartSectionData> showingSections() {
return List.generate( return List.generate(
2, 2,

Loading…
Cancel
Save