diff --git a/.flutter-plugins-dependencies b/.flutter-plugins-dependencies index 6ddad90..b52bfee 100644 --- a/.flutter-plugins-dependencies +++ b/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"connectivity_plus","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\connectivity_plus-2.3.9\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_foundation-2.4.0\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"shared_preferences_foundation","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_foundation-2.4.0\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"sqflite","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\sqflite-2.3.3+1\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"android":[{"name":"connectivity_plus","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\connectivity_plus-2.3.9\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_android","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_android-2.2.4\\\\","native_build":true,"dependencies":[]},{"name":"shared_preferences_android","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_android-2.2.2\\\\","native_build":true,"dependencies":[]},{"name":"sqflite","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\sqflite-2.3.3+1\\\\","native_build":true,"dependencies":[]}],"macos":[{"name":"connectivity_plus_macos","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\connectivity_plus_macos-1.2.6\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_foundation-2.4.0\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"shared_preferences_foundation","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_foundation-2.4.0\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"sqflite","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\sqflite-2.3.3+1\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"linux":[{"name":"connectivity_plus_linux","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\connectivity_plus_linux-1.3.1\\\\","native_build":false,"dependencies":[]},{"name":"path_provider_linux","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_linux-2.2.1\\\\","native_build":false,"dependencies":[]},{"name":"shared_preferences_linux","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_linux-2.3.2\\\\","native_build":false,"dependencies":["path_provider_linux"]}],"windows":[{"name":"connectivity_plus_windows","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\connectivity_plus_windows-1.2.2\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_windows","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_windows-2.2.1\\\\","native_build":false,"dependencies":[]},{"name":"shared_preferences_windows","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_windows-2.3.2\\\\","native_build":false,"dependencies":["path_provider_windows"]}],"web":[{"name":"connectivity_plus_web","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\connectivity_plus_web-1.2.5\\\\","dependencies":[]},{"name":"shared_preferences_web","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_web-2.3.0\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"connectivity_plus","dependencies":["connectivity_plus_linux","connectivity_plus_macos","connectivity_plus_web","connectivity_plus_windows"]},{"name":"connectivity_plus_linux","dependencies":[]},{"name":"connectivity_plus_macos","dependencies":[]},{"name":"connectivity_plus_web","dependencies":[]},{"name":"connectivity_plus_windows","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_foundation","shared_preferences_linux","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_foundation","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]},{"name":"sqflite","dependencies":[]}],"date_created":"2024-06-26 13:56:54.131323","version":"3.19.6"} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"connectivity_plus","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\connectivity_plus-2.3.9\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_foundation-2.4.0\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"shared_preferences_foundation","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_foundation-2.4.0\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"sqflite","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\sqflite-2.3.3+1\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"android":[{"name":"connectivity_plus","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\connectivity_plus-2.3.9\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_android","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_android-2.2.4\\\\","native_build":true,"dependencies":[]},{"name":"shared_preferences_android","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_android-2.2.2\\\\","native_build":true,"dependencies":[]},{"name":"sqflite","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\sqflite-2.3.3+1\\\\","native_build":true,"dependencies":[]}],"macos":[{"name":"connectivity_plus_macos","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\connectivity_plus_macos-1.2.6\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_foundation","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_foundation-2.4.0\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"shared_preferences_foundation","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_foundation-2.4.0\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]},{"name":"sqflite","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\sqflite-2.3.3+1\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[]}],"linux":[{"name":"connectivity_plus_linux","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\connectivity_plus_linux-1.3.1\\\\","native_build":false,"dependencies":[]},{"name":"path_provider_linux","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_linux-2.2.1\\\\","native_build":false,"dependencies":[]},{"name":"shared_preferences_linux","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_linux-2.3.2\\\\","native_build":false,"dependencies":["path_provider_linux"]}],"windows":[{"name":"connectivity_plus_windows","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\connectivity_plus_windows-1.2.2\\\\","native_build":true,"dependencies":[]},{"name":"path_provider_windows","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_windows-2.2.1\\\\","native_build":false,"dependencies":[]},{"name":"shared_preferences_windows","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_windows-2.3.2\\\\","native_build":false,"dependencies":["path_provider_windows"]}],"web":[{"name":"connectivity_plus_web","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\connectivity_plus_web-1.2.5\\\\","dependencies":[]},{"name":"shared_preferences_web","path":"C:\\\\Users\\\\HP\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_web-2.3.0\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"connectivity_plus","dependencies":["connectivity_plus_linux","connectivity_plus_macos","connectivity_plus_web","connectivity_plus_windows"]},{"name":"connectivity_plus_linux","dependencies":[]},{"name":"connectivity_plus_macos","dependencies":[]},{"name":"connectivity_plus_web","dependencies":[]},{"name":"connectivity_plus_windows","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_foundation","shared_preferences_linux","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_foundation","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]},{"name":"sqflite","dependencies":[]}],"date_created":"2024-07-02 09:13:46.706236","version":"3.19.6"} \ No newline at end of file diff --git a/assets/images/HZ2A2318.jpg b/assets/images/HZ2A2318.jpg new file mode 100644 index 0000000..3d00c95 Binary files /dev/null and b/assets/images/HZ2A2318.jpg differ diff --git a/assets/images/HZ2A2341.jpg b/assets/images/HZ2A2341.jpg new file mode 100644 index 0000000..0f19001 Binary files /dev/null and b/assets/images/HZ2A2341.jpg differ diff --git a/assets/images/HZ2A2394.jpg b/assets/images/HZ2A2394.jpg new file mode 100644 index 0000000..a85ffbf Binary files /dev/null and b/assets/images/HZ2A2394.jpg differ diff --git a/assets/images/HZ2A2453.jpg b/assets/images/HZ2A2453.jpg new file mode 100644 index 0000000..8880495 Binary files /dev/null and b/assets/images/HZ2A2453.jpg differ diff --git a/assets/images/HZ2A2466.jpg b/assets/images/HZ2A2466.jpg new file mode 100644 index 0000000..bc88be1 Binary files /dev/null and b/assets/images/HZ2A2466.jpg differ diff --git a/assets/images/HZ2A2498.jpg b/assets/images/HZ2A2498.jpg new file mode 100644 index 0000000..1ac61d6 Binary files /dev/null and b/assets/images/HZ2A2498.jpg differ diff --git a/assets/images/HZ2A2564-Modifica.jpg b/assets/images/HZ2A2564-Modifica.jpg new file mode 100644 index 0000000..9b829b8 Binary files /dev/null and b/assets/images/HZ2A2564-Modifica.jpg differ diff --git a/assets/images/HZ2A2567.jpg b/assets/images/HZ2A2567.jpg new file mode 100644 index 0000000..47d7678 Binary files /dev/null and b/assets/images/HZ2A2567.jpg differ diff --git a/assets/images/HZ2A2588.jpg b/assets/images/HZ2A2588.jpg new file mode 100644 index 0000000..9034eff Binary files /dev/null and b/assets/images/HZ2A2588.jpg differ diff --git a/assets/images/HZ2A2596.jpg b/assets/images/HZ2A2596.jpg new file mode 100644 index 0000000..5af42d1 Binary files /dev/null and b/assets/images/HZ2A2596.jpg differ diff --git a/assets/images/HZ2A2627.jpg b/assets/images/HZ2A2627.jpg new file mode 100644 index 0000000..09d4f9b Binary files /dev/null and b/assets/images/HZ2A2627.jpg differ diff --git a/assets/images/HZ2A2636.jpg b/assets/images/HZ2A2636.jpg new file mode 100644 index 0000000..116204d Binary files /dev/null and b/assets/images/HZ2A2636.jpg differ diff --git a/assets/images/HZ2A2670.jpg b/assets/images/HZ2A2670.jpg new file mode 100644 index 0000000..d9dd389 Binary files /dev/null and b/assets/images/HZ2A2670.jpg differ diff --git a/assets/images/HZ2A2703.jpg b/assets/images/HZ2A2703.jpg new file mode 100644 index 0000000..425226f Binary files /dev/null and b/assets/images/HZ2A2703.jpg differ diff --git a/assets/images/img1.jpg b/assets/images/img1.jpg deleted file mode 100644 index bba7be3..0000000 Binary files a/assets/images/img1.jpg and /dev/null differ diff --git a/assets/images/img2.jpg b/assets/images/img2.jpg deleted file mode 100644 index 77b516f..0000000 Binary files a/assets/images/img2.jpg and /dev/null differ diff --git a/assets/images/img3.jpg b/assets/images/img3.jpg deleted file mode 100644 index 539de1a..0000000 Binary files a/assets/images/img3.jpg and /dev/null differ diff --git a/assets/images/lab1.jpg b/assets/images/lab1.jpg new file mode 100644 index 0000000..96fa4af Binary files /dev/null and b/assets/images/lab1.jpg differ diff --git a/assets/images/lab11.jpg b/assets/images/lab11.jpg new file mode 100644 index 0000000..286a372 Binary files /dev/null and b/assets/images/lab11.jpg differ diff --git a/assets/images/lab2.jpg b/assets/images/lab2.jpg new file mode 100644 index 0000000..ebd74b6 Binary files /dev/null and b/assets/images/lab2.jpg differ diff --git a/assets/images/lab3.jpg b/assets/images/lab3.jpg new file mode 100644 index 0000000..28e3737 Binary files /dev/null and b/assets/images/lab3.jpg differ diff --git a/lib/presentation/login_screen/login_screen.dart b/lib/presentation/login_screen/login_screen.dart index 743bdad..dd9c6cd 100644 --- a/lib/presentation/login_screen/login_screen.dart +++ b/lib/presentation/login_screen/login_screen.dart @@ -148,7 +148,7 @@ class _LoginScreenState extends State { ), if (!isRecording || showStartRecordingButton) CustomButton( - text: "inizia a registrare", + text: "Inizia a Registrare", margin: EdgeInsets.fromLTRB(50, 30, 50, 10), variant: ButtonVariant.OutlineBlack9003f, padding: ButtonPadding.PaddingAll9, @@ -311,10 +311,7 @@ class _LoginScreenState extends State { Future loginAndGetToken() async { var url = Uri.parse('https://192.168.60.230:5050/auth/login'); - var data = { - 'username': dotenv.env['USERNAME'], - 'password': dotenv.env['PASSWORD'], - }; + var data = {'username': 'admin', 'password': 'Pwdadmin1!'}; var body = data.keys.map((key) => "${Uri.encodeComponent(key)}=${Uri.encodeComponent(data[key] ?? '')}").join("&"); diff --git a/lib/presentation/splash_screen_one_screen/splash_screen_one_screen.dart b/lib/presentation/splash_screen_one_screen/splash_screen_one_screen.dart index f80279e..7e3cff7 100644 --- a/lib/presentation/splash_screen_one_screen/splash_screen_one_screen.dart +++ b/lib/presentation/splash_screen_one_screen/splash_screen_one_screen.dart @@ -4,201 +4,11 @@ import 'package:michele_s_application8/core/app_export.dart'; import 'dart:async'; import 'package:dots_indicator/dots_indicator.dart'; - -// -// class SplashScreenOneScreen extends GetWidget { -// @override -// // Widget build(BuildContext context) { -// // return SafeArea( -// // child: Scaffold( -// // backgroundColor: ColorConstant.whiteA700, -// // body: Container( -// // width: double.maxFinite, -// // padding: getPadding(all: 14), -// // child: Column( -// // crossAxisAlignment: CrossAxisAlignment.end, -// // mainAxisAlignment: MainAxisAlignment.start, -// // children: [ -// // Padding( -// // padding: getPadding(right: 6), -// // child: Text("lbl_powered_by".tr, -// // overflow: TextOverflow.ellipsis, -// // textAlign: TextAlign.left, -// // style: AppStyle.txtRobotoRomanMedium10)), -// // CustomImageView( -// // imagePath: ImageConstant.imgImage1, -// // height: getVerticalSize(21), -// // width: getHorizontalSize(103), -// // margin: getMargin(right: 6)), -// // Spacer(), -// // Container( -// // height: getVerticalSize(352), -// // width: getHorizontalSize(345), -// // margin: getMargin(right: 1, bottom: 215), -// // child: Stack(alignment: Alignment.center, children: [ -// // Align( -// // alignment: Alignment.center, -// // child: Container( -// // height: getVerticalSize(352), -// // width: getHorizontalSize(345), -// // decoration: BoxDecoration( -// // color: ColorConstant.whiteA7009e, -// // borderRadius: BorderRadius.circular( -// // getHorizontalSize(176))))), -// // Align( -// // alignment: Alignment.center, -// // child: Row( -// // mainAxisAlignment: MainAxisAlignment.center, -// // children: [ -// // CustomImageView( -// // imagePath: -// // ImageConstant.imgRectangle286, -// // height: getVerticalSize(133), -// // width: getHorizontalSize(134)), -// // Padding( -// // padding: getPadding( -// // left: 6, top: 148, bottom: 20), -// // child: Column( -// // crossAxisAlignment: -// // CrossAxisAlignment.end, -// // mainAxisAlignment: -// // MainAxisAlignment.start, -// // children: [ -// // Container( -// // width: -// // getHorizontalSize(113), -// // child: Text( -// // "msg_istituto_comprensivo" -// // .tr, -// // maxLines: null, -// // textAlign: -// // TextAlign.right, -// // style: AppStyle -// // .txtRobotoRomanSemiBold19)), -// // Padding( -// // padding: getPadding(top: 6), -// // child: Text( -// // "lbl_dante_alighieri" -// // .tr, -// // overflow: TextOverflow -// // .ellipsis, -// // textAlign: -// // TextAlign.left, -// // style: AppStyle -// // .txtRobotoRomanSemiBold19Lime600)) -// // ])) -// // ])) -// // ])) -// // ])))); -// // } -// } - class SplashScreenOneScreen extends StatefulWidget { @override _SplashScreenOneScreenState createState() => _SplashScreenOneScreenState(); } - -// class _SplashScreenOneScreenState extends State with AutomaticKeepAliveClientMixin { -// final controller = PageController(); -// Timer? _timer; -// double currentPage = 0; -// -// @override -// void initState() { -// super.initState(); -// _timer = Timer.periodic(Duration(seconds: 5), (Timer timer) { -// if (controller.page?.round() == controller.page) { -// if (controller.page == 2) { -// controller.jumpToPage(0); -// } else { -// controller.nextPage( -// duration: Duration(milliseconds: 2000), -// curve: Curves.ease, -// ); -// } -// } -// }); -// controller.addListener(() { -// setState(() { -// currentPage = controller.page!; -// }); -// }); -// } -// -// @override -// void dispose() { -// _timer?.cancel(); -// super.dispose(); -// } -// -// @override -// Widget build(BuildContext context) { -// return Scaffold( -// body: Stack( -// children: [ -// PageView.builder( -// controller: controller, -// itemCount: 3, -// itemBuilder: (context, index) { -// return GestureDetector( -// onTap: () { -// Navigator.pushNamed(context, '/login_screen'); -// }, -// child: Stack( -// fit: StackFit.expand, -// children: [ -// Image.asset( -// 'assets/images/img${index + 1}.png', -// fit: BoxFit.cover, -// ), -// Positioned( -// bottom: 300, -// left: 20, -// child: Text( -// 'CookingLab', -// style: TextStyle( -// color: Colors.white, -// fontSize: 24, -// fontWeight: FontWeight.bold, -// shadows: [ -// Shadow( -// offset: Offset(2.0, 2.0), -// blurRadius: 3.0, -// color: Color.fromARGB(255, 0, 0, 0), -// ), -// ], -// ), -// ), -// ), -// ], -// ), -// ); -// }, -// ), -// Positioned( -// bottom: 20, -// left: 0, -// right: 0, -// child: Center( -// child: DotsIndicator( -// dotsCount: 3, -// position: currentPage, -// decorator: DotsDecorator( -// activeColor: Colors.white, -// ), -// ), -// ), -// ), -// ], -// ), -// ); -// } -// -// @override -// bool get wantKeepAlive => true; -// } - class _SplashScreenOneScreenState extends State with AutomaticKeepAliveClientMixin { final controller = PageController(); Timer? _timer; @@ -206,16 +16,16 @@ class _SplashScreenOneScreenState extends State with Auto // Add your image paths here final List imagePaths = [ - 'assets/images/foto-CookingLab.jpeg', - 'assets/images/img2.png', - 'assets/images/img3.png', + 'assets/images/lab1.jpg', + 'assets/images/lab2.jpg', + 'assets/images/lab3.jpg', ]; // Add your text here final List imageTexts = [ - 'HELLO', + 'Text 1', 'CookingLab', - 'Text 3', + 'Text 2', ]; @override @@ -311,4 +121,4 @@ class _SplashScreenOneScreenState extends State with Auto @override bool get wantKeepAlive => true; -} \ No newline at end of file +} diff --git a/pubspec.yaml b/pubspec.yaml index 81fb7a4..4fc15ff 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -32,6 +32,9 @@ flutter: - assets/images/img3.png - assets/images/img_image1.png - assets/images/foto-CookingLab.jpeg + - assets/images/lab1.jpg + - assets/images/lab2.jpg + - assets/images/lab3.jpg fonts: - family: Roboto fonts: