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'; | |
| import 'package:flutter/services.dart'; | |
| import 'package:otobee_user/core/core.dart'; | |
| class AppOTPField extends StatefulWidget { | |
| const AppOTPField({ | |
| super.key, | |
| this.length = 6, | |
| this.onCompleted, | |
| this.spacing = 8, |
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 { Box } from '@mui/material' | |
| import { AnimatePresence, motion } from 'framer-motion' | |
| export const AsyncContentWrapper = ({ | |
| children, | |
| isLoading, | |
| skeleton, | |
| emptyContent, | |
| isEmpty, | |
| skeletonCount |
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
| class AppTheme { | |
| static _inputBorder({Color borderColor = AppPallete.borderColor}) => | |
| OutlineInputBorder( | |
| borderSide: BorderSide( | |
| color: borderColor, | |
| width: 3, | |
| ), | |
| borderRadius: BorderRadius.circular(10), | |
| ); |
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:async'; | |
| import '../models/api_response.dart'; | |
| import 'package:http/http.dart' as http; | |
| import 'http_response_handler.dart'; | |
| abstract class HttpCustomRequest with HttpResponseHandlerMixin { | |
| static const String jsonMimeType = 'application/json'; | |
| static const String bearerTokenPrefix = 'Bearer '; |