A Flutter app that demonstrates animated bookshelf customization with interactive wood shelves and lighting effects.
- Interactive Bookshelf: Animated wood shelves that slide in and out
- Lighting Effects: Customizable lighting with glow effects
- Expandable UI Sections: Collapsible furniture and lighting configuration panels
- Smooth Animations: Custom elastic curves for natural motion
- Responsive Design: Adapts to different screen sizes
lib/
├── main.dart # Main app entry point
├── widgets/
│ ├── book_shelf_widget.dart # Main bookshelf display widget
│ ├── bulb_light.dart # Lighting effect widget
│ └── animated_tab_selector.dart # Reusable tab selector component
└── utils/
└── elastic_curve.dart # Custom animation curve
- Displays the main bookshelf with animated wood shelves
- Controls shelf visibility and positioning
- Integrates lighting effects
- Creates glowing light effects
- Customizable size, color, and glow radius
- Used for shelf lighting
- Reusable tab selector with animated indicator
- Smooth transitions between options
- Customizable appearance and behavior
- Custom animation curve with reduced bounce
- Provides natural, elastic motion
- Used throughout the app for smooth animations
The project includes comprehensive Flutter tests covering:
- Widget rendering and properties
- User interactions and state changes
- Animation behavior
- Integration testing
- Performance testing
Run tests with:
flutter test-
Furniture Configuration: Tap "Make your furniture" to expand options
- Select number of shelves (One, Two, Three)
- Choose size (Square, Wide, Tall)
-
Lighting Configuration: Tap "Choose Lightening" to expand options
- Select lighting type (None, Bulb, Strip)
-
Interactive Elements:
- Wood shelves animate in/out based on selection
- Lighting effects appear/disappear with smooth transitions
- All animations use custom elastic curves
- Flutter SDK
- No external dependencies required
assets/bookshelf.png- Main bookshelf backgroundassets/wood.png- Wood shelf textureassets/light.png- Light fixture imageassets/foot.png- Furniture base image
The code is organized into separate, reusable widgets for maintainability:
- Each widget has a single responsibility
- Custom animation curves are centralized
- Tests ensure reliability and prevent regressions
- Clean separation between UI and logic
- Additional furniture types
- More lighting options
- Color customization
- Save/load configurations
- 3D effects
