This file contains hidden or 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
| import 'dart:developer'; | |
| import 'dart:io'; | |
| import 'dart:async'; | |
| class APIException implements Exception { | |
| final String? message; | |
| final int? statusCode; | |
| final Exception? exception; | |
| APIException({this.message, this.statusCode, this.exception}); |
This file contains hidden or 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
| import 'package:flutter/material.dart'; | |
| class MarqueeScroll extends StatefulWidget { | |
| final List<Widget> items; | |
| final bool scrollRight; // true for right, false for left | |
| final Duration duration; | |
| const MarqueeScroll({ | |
| super.key, | |
| required this.items, |
This file contains hidden or 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
| import 'package:flutter/material.dart'; | |
| class AdaptiveLayout extends StatelessWidget { | |
| static const double smallScreenMaxWidth = 999; | |
| static const double mediumScreenMinWidth = 1000; | |
| static const double mediumScreenMaxWidth = 1200; | |
| static const double largeScreenMinWidth = 1201; | |
| final Widget largeScreen; | |
| final Widget? mediumScreen; |
This file contains hidden or 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
| import 'package:flutter/cupertino.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_rating_bar/flutter_rating_bar.dart'; | |
| import 'package:flutter_svg/flutter_svg.dart'; | |
| import 'package:google_maps_flutter/google_maps_flutter.dart'; | |
| import 'package:intl/intl.dart'; | |
| import 'package:shimmer/shimmer.dart'; | |
| import 'package:vertical_scrollable_tabview/vertical_scrollable_tabview.dart'; | |
| import 'package:scroll_to_index/scroll_to_index.dart'; |