-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
039107f
commit 1017df3
Showing
15 changed files
with
529 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import 'package:flutter/widgets.dart'; | ||
import 'package:get/get.dart'; | ||
import 'dart:convert'; | ||
import 'package:http/http.dart' as http; | ||
import 'package:shared_preferences/shared_preferences.dart'; | ||
import 'package:sendatrack/routers/app_pages.dart'; | ||
|
||
class GestionCarburantController extends GetxController { | ||
RxBool isLoading = false.obs; | ||
RxBool input = true.obs; | ||
RxBool isOutput = false.obs; | ||
RxList<String?> ListMatricules = <String>["wewe"].obs; | ||
RxList<String?> ListConducteur = <String>["wewe"].obs; | ||
RxList<String?> ListCiternes = <String>["wewe"].obs; | ||
|
||
final TextEditingController KmPrecedentTextEditingController = | ||
TextEditingController(); | ||
final TextEditingController QteTextEditingController = | ||
TextEditingController(); | ||
final TextEditingController KmActuelTextEditingController = | ||
TextEditingController(); | ||
@override | ||
void onInit() { | ||
super.onInit(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:gap/gap.dart'; | ||
import '../../../constant.dart'; | ||
import 'package:get/get.dart'; | ||
import 'package:sendatrack/widgets/consomationForm.dart'; | ||
|
||
class ConsommationScreen extends StatefulWidget { | ||
const ConsommationScreen({super.key}); | ||
|
||
@override | ||
State<ConsommationScreen> createState() => ConsommationScreenState(); | ||
} | ||
|
||
class ConsommationScreenState extends State<ConsommationScreen> { | ||
@override | ||
Widget build(BuildContext context) { | ||
return Scaffold( | ||
appBar: AppBar( | ||
title: const Text('Consommation'), | ||
), | ||
body: Container( | ||
child: const Center( | ||
child: Text('Consommation'), | ||
), | ||
), | ||
floatingActionButton: FloatingActionButton( | ||
onPressed: () { | ||
Get.to(() => const ConsomationForm()); | ||
}, | ||
child: const Icon(Icons.add), | ||
), | ||
); | ||
} | ||
} |
Oops, something went wrong.