Cleanup import
This commit is contained in:
parent
51622f9182
commit
1601a544a2
26 changed files with 35 additions and 26 deletions
|
@ -1,4 +1,5 @@
|
|||
import 'package:dio/dio.dart';
|
||||
|
||||
import 'package:nekoya_flutter/api/config.dart';
|
||||
|
||||
Future<dynamic> getProducts() async {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:carousel_slider/carousel_slider.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class Carousel extends StatefulWidget {
|
||||
const Carousel({Key? key}) : super(key: key);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'dart:convert';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_form_builder/flutter_form_builder.dart';
|
||||
|
||||
import 'package:nekoya_flutter/api/api.dart';
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
import 'package:intl/intl.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:nekoya_flutter/api/api.dart';
|
||||
import 'package:nekoya_flutter/data/cart.dart';
|
||||
import 'package:nekoya_flutter/components/cart_box.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
|
||||
class CheckoutItems extends StatefulWidget {
|
||||
const CheckoutItems({Key? key}) : super(key: key);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../utils/utils.dart';
|
||||
import 'package:nekoya_flutter/utils/utils.dart';
|
||||
|
||||
class ColorDot extends StatelessWidget {
|
||||
const ColorDot({
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:lottie/lottie.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:nekoya_flutter/api/api.dart';
|
||||
import 'package:nekoya_flutter/screens/otp.dart';
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:lottie/lottie.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class LoginError extends StatefulWidget {
|
||||
const LoginError({Key? key}) : super(key: key);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:lottie/lottie.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:nekoya_flutter/api/api.dart';
|
||||
import 'package:nekoya_flutter/components/login_error.dart';
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../utils/utils.dart';
|
||||
import 'product_card.dart';
|
||||
import 'section_title.dart';
|
||||
import 'package:nekoya_flutter/api/api.dart';
|
||||
import 'package:nekoya_flutter/components/product_detail.dart';
|
||||
import 'package:nekoya_flutter/components/product_card.dart';
|
||||
import 'package:nekoya_flutter/components/section_title.dart';
|
||||
import 'package:nekoya_flutter/utils/utils.dart';
|
||||
|
||||
class NewArrivalProducts extends StatelessWidget {
|
||||
const NewArrivalProducts({
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import 'package:lottie/lottie.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:lottie/lottie.dart';
|
||||
|
||||
class OtpBody extends StatefulWidget {
|
||||
const OtpBody({Key? key}) : super(key: key);
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import 'package:intl/intl.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:nekoya_flutter/api/api.dart';
|
||||
import 'package:nekoya_flutter/data/cart.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
|
||||
import 'package:nekoya_flutter/components/menu.dart';
|
||||
|
||||
class PaymentBody extends StatefulWidget {
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:nekoya_flutter/api/api.dart';
|
||||
import 'package:nekoya_flutter/components/product_card.dart';
|
||||
import 'package:nekoya_flutter/components/product_detail.dart';
|
||||
import '../utils/utils.dart';
|
||||
import 'product_card.dart';
|
||||
import 'section_title.dart';
|
||||
import 'package:nekoya_flutter/components/section_title.dart';
|
||||
import 'package:nekoya_flutter/utils/utils.dart';
|
||||
|
||||
class PopularProducts extends StatelessWidget {
|
||||
const PopularProducts({
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import 'package:cached_network_image/cached_network_image.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../utils/utils.dart';
|
||||
import 'package:nekoya_flutter/utils/utils.dart';
|
||||
|
||||
class ProductCard extends StatelessWidget {
|
||||
const ProductCard({
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:lottie/lottie.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class RegisterError extends StatefulWidget {
|
||||
const RegisterError({Key? key}) : super(key: key);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:lottie/lottie.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_form_builder/flutter_form_builder.dart';
|
||||
|
||||
import 'package:nekoya_flutter/api/api.dart';
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:lottie/lottie.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class RegisterVerify extends StatefulWidget {
|
||||
const RegisterVerify({Key? key}) : super(key: key);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_svg/flutter_svg.dart';
|
||||
|
||||
import '../utils/utils.dart';
|
||||
import 'package:nekoya_flutter/utils/utils.dart';
|
||||
|
||||
const OutlineInputBorder outlineInputBorder = OutlineInputBorder(
|
||||
borderRadius: BorderRadius.all(Radius.circular(12)),
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:cached_network_image/cached_network_image.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class TransactionProductBox extends StatefulWidget {
|
||||
const TransactionProductBox({Key? key, required this.imageUrl, required this.title, required this.quantity}) : super(key: key);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:page_transition/page_transition.dart';
|
||||
import 'package:animated_splash_screen/animated_splash_screen.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:nekoya_flutter/screens/login.dart';
|
||||
import 'package:nekoya_flutter/screens/register.dart';
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:nekoya_flutter/components/checkout_form.dart';
|
||||
import 'package:nekoya_flutter/components/checkout_items.dart';
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:nekoya_flutter/components/forgot_pass_body.dart';
|
||||
|
||||
class ForgotPassword extends StatefulWidget {
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:nekoya_flutter/components/bannerimage.dart';
|
||||
import 'package:nekoya_flutter/utils/utils.dart';
|
||||
|
||||
import 'package:nekoya_flutter/components/bannerimage.dart';
|
||||
import 'package:nekoya_flutter/components/carousel.dart';
|
||||
import 'package:nekoya_flutter/components/new_arrival_products.dart';
|
||||
import 'package:nekoya_flutter/components/popular_products.dart';
|
||||
import 'package:nekoya_flutter/components/search_form.dart';
|
||||
import 'package:nekoya_flutter/utils/utils.dart';
|
||||
|
||||
class Home extends StatelessWidget {
|
||||
const Home({Key? key}) : super(key: key);
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:nekoya_flutter/components/login_form.dart';
|
||||
|
||||
class Login extends StatefulWidget {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:nekoya_flutter/components/otp_body.dart';
|
||||
|
||||
class Otp extends StatefulWidget {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:nekoya_flutter/components/payment_body.dart';
|
||||
|
||||
class Payment extends StatefulWidget {
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:nekoya_flutter/components/register_form.dart';
|
||||
|
||||
class Register extends StatefulWidget {
|
||||
|
|
Loading…
Reference in a new issue