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 SettingsBloc { | |
| void close() {} | |
| } | |
| /// {@template settings_scope} | |
| /// SettingsScope widget. | |
| /// {@endtemplate} | |
| class SettingsScope extends StatefulWidget { |
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
| late final MapController _mapController = MapController(); | |
| final _objects = <MapObject>[]; | |
| bool _searchForObjectsInPoints(LatLng latLng) { | |
| // Предположительные метрики в пикселях | |
| // 40 14.67 - 15.67 | |
| // 30 15.67 - 16.67 | |
| // 20 16.67 - 17.67 | |
| // 10 17.67 - 18.67 |
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/physics.dart'; | |
| main() { | |
| runApp( | |
| MaterialApp( | |
| debugShowCheckedModeBanner: false, | |
| home: PhysicsCardDragDemo(), | |
| ), | |
| ); |
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/widgets.dart'; | |
| import 'dart:math'; | |
| class SnappingListView extends StatefulWidget { | |
| final Axis scrollDirection; | |
| final ScrollController? controller; | |
| final IndexedWidgetBuilder? itemBuilder; | |
| final List<Widget>? children; | |
| final int? itemCount; |
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
| /// Author: Nabraj Khadka | |
| /// Created: 28.05.2023 | |
| /// Description: Auth Interceptor | |
| /// | |
| import 'package:project/app/api/interceptors/pretty_dio_logger.dart'; | |
| import 'package:project/app/configs/api_endpoints.dart'; | |
| import 'package:project/app/storage/storage_const.dart'; | |
| import 'package:project/app/view/dialogs/toast.dart'; | |
| import 'package:project/features/auth/domain/repositories/token_repository.dart'; |
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 DioHelper { | |
| final Dio dio; | |
| DioHelper({@required this.dio}); | |
| final CustomSharedPreferences _customSharedPreferences = | |
| new CustomSharedPreferences(); | |
| static String _baseUrl = BASE_URL; | |
| String token = ""; | |
| void initializeToken(String savedToken) { |
Markdown - это облегчённый язык разметки, который преобразует текст в структурированный HTML. Следующее руководство поможет вам разобраться, как использовать Markdown.
# Заголовок первого уровня
## Заголовок второго уровня
### Заголовок третьего уровня
#### Заголовок четвёртого уровня
##### Заголовок пятого уровня
NewerOlder