This Flutter project, "Animated Split Cam Flutter," is a mobile application that provides a creative split-camera functionality with different visual effects. The project is divided into several Dart files, each focusing on specific aspects of the application.
To run this project locally, follow the steps below:
-
Clone the repository to your local machine:
git clone https://github.com/AbdulRahmanFares/animated_split_cam_flutter.git
-
Navigate to the project directory:
cd animated_split_cam_flutter
-
Open the project in your preferred Flutter IDE.
-
Install dependencies by running:
flutter pub get
-
Update the main.dart file to run other files:
// main.dart import 'package:animated_split_cam_flutter/screens/basic_split.dart'; import 'package:animated_split_cam_flutter/screens/moderate_split.dart'; import 'package:animated_split_cam_flutter/screens/animated_split.dart'; import 'package:animated_split_cam_flutter/screens/advanced_split_with_cam.dart'; import 'package:flutter/material.dart'; void main() => runApp(const MyApp()); class MyApp extends StatelessWidget { const MyApp({super.key}); @override Widget build(BuildContext context) { return const MaterialApp( debugShowCheckedModeBanner: false, home: BasicSplit(), // Change this to the desired starting screen ); } }
Update the
home
property in theMaterialApp
widget to point to the desired starting screen (e.g.,BasicSplit
,ModerateSplit
,AnimatedSplit
, orAdvancedSplitWithCam
). -
Run the app on your emulator or connected device:
flutter run
- Basic Split: Introduces a basic split functionality with circles.
- Moderate Split: Adds a moderate split with conditional rendering.
- Animated Split: Implements an animated split effect using the AnimatedContainer widget.
- Advanced Split with Cam: Combines split functionality with the ability to capture images from the camera.
This project uses the image_picker package to facilitate image capture functionality. Make sure to check the image_picker documentation for any additional setup or configuration.
If you encounter any issues or have suggestions for improvement, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
If you find this project helpful or would like to contribute to its continued development, consider supporting me with a coffee! Your support is invaluable.