Put tasks.json file in .vscode/ directory
Bu dosya, Flutter projeleri için VS Code'da kullanılan özel görevleri (tasks) tanımlar. Bu görevler, geliştirme sürecini hızlandırmak ve tekrarlayan komutları otomatikleştirmek için kullanılır.
Put tasks.json file in .vscode/ directory
Bu dosya, Flutter projeleri için VS Code'da kullanılan özel görevleri (tasks) tanımlar. Bu görevler, geliştirme sürecini hızlandırmak ve tekrarlayan komutları otomatikleştirmek için kullanılır.
| import 'package:flutter/material.dart'; | |
| class MultiBorderBoxDecoration extends BoxDecoration { | |
| MultiBorderBoxDecoration({ | |
| required this.borderSides, | |
| this.boxShape = BoxShape.rectangle, | |
| super.color, | |
| super.image, | |
| BorderRadius? super.borderRadius, | |
| super.boxShadow, |
| { | |
| "workbench.colorCustomizations": { | |
| "activityBar.activeBorder": "#f9826c", | |
| "activityBar.background": "#24292e", | |
| "activityBar.border": "#1b1f23", | |
| "activityBar.foreground": "#e1e4e8", | |
| "activityBar.inactiveForeground": "#6a737d", | |
| "activityBarBadge.background": "#0366d6", | |
| "activityBarBadge.foreground": "#ffffff", | |
| "badge.background": "#044289", |
| import 'package:bloc/bloc.dart'; | |
| import 'package:flutter_bloc/flutter_bloc.dart'; | |
| import 'package:flutter/services.dart' show rootBundle; | |
| import 'package:hotel_reservation_app/core/data/models/filter_model.dart'; | |
| import 'package:hotel_reservation_app/core/data/models/hotel_model.dart'; | |
| import 'dart:convert'; | |
| import 'home_screen_event.dart'; | |
| import 'home_screen_state.dart'; |
| class HotelView extends StatefulWidget { | |
| const HotelView({super.key}); | |
| @override | |
| State<HotelView> createState() => _HotelViewState(); | |
| } | |
| class _HotelViewState extends State<HotelView> { | |
| final List<HotelModel> hotelList = [ |
| import 'dart:async'; | |
| import 'dart:io'; | |
| import 'package:firebase_core/firebase_core.dart'; | |
| import 'package:firebase_messaging/firebase_messaging.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/services.dart'; | |
| import 'package:flutter_screenutil/flutter_screenutil.dart'; | |
| import 'package:get/get.dart'; | |
| import 'package:google_mobile_ads/google_mobile_ads.dart'; |
| // ignore_for_file: unused_element | |
| import 'package:flutter/material.dart'; | |
| final class ShowModalBottomSheetWithScaffoldView extends StatefulWidget { | |
| const ShowModalBottomSheetWithScaffoldView({super.key}); | |
| @override | |
| State<ShowModalBottomSheetWithScaffoldView> createState() => _ShowModalBottomSheetWithScaffoldViewState(); | |
| } |
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(const MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| const MyApp({super.key}); | |
| // This widget is the root of your application. |
| void main() { | |
| List<Object> eventList = [ | |
| Event( | |
| eventTime: DateTime(1961, 05, 12), | |
| ), | |
| [ | |
| Event( | |
| eventTime: DateTime(1963, 05, 12), | |
| ), | |
| Event( |
| class ArticleModel { | |
| String? status; | |
| int? totalResults; | |
| List<Articles>? articles; | |
| ArticleModel({this.status, this.totalResults, this.articles}); | |
| ArticleModel.fromJson(Map<String, dynamic> json) { | |
| status = json['status']; | |
| totalResults = json['totalResults']; |