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 SwiftUI | |
| import Charts | |
| import Combine | |
| // MARK: - Custom Chart Symbols | |
| struct SelectionCircleSymbol: ChartSymbolShape { | |
| func path(in rect: CGRect) -> Path { | |
| let center = CGPoint(x: rect.midX, y: rect.midY) | |
| let radius = min(rect.width, rect.height) / 2 |
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 SwiftUI | |
| /* | |
| Available for iOS 15 | |
| */ | |
| struct AttributedStringView: View { | |
| let htmlString: String | |
| let font: Font | |
| let textColor: Color |
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
| { | |
| "status": 200, | |
| "data": { | |
| "banners": [ | |
| { | |
| "image_url": "https://i.ibb.co/yk2JRBN/Container-1.png", | |
| "id": 1 | |
| }, | |
| { | |
| "image_url": "https://i.ibb.co/MGVygRf/Container-1-1.png", |
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
| { | |
| "wallpapers": [ | |
| { | |
| "id": "1", | |
| "name": "Nature Landscape", | |
| "image_url": "https://raw.githubusercontent.com/jerrypm/nextproject/master/wallpaper01_low.jpg" | |
| }, | |
| { | |
| "id": "2", | |
| "name": "Abstract Blue", |
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
| // Created by Jeri Purnama on 24/02/23. | |
| /* | |
| Use this Pod to Filter Image | |
| https://cocoapods.org/pods/MetalPetal | |
| */ | |
| import SwiftUI | |
| import MetalPetal | |
| struct ContentViewOne: View { |
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'; | |
| //Model Image | |
| class ImageData { | |
| String path; | |
| String title; | |
| String date; |
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
| { | |
| "status": "success", | |
| "message": "Login successful", | |
| "data": { | |
| "user_id": 101, | |
| "username": "johndoe", | |
| "password": "12345678", | |
| "email": "[email protected]", | |
| "token": "abcdefghijklmnopqrstuvwxyz", | |
| "is_ok": true |
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 'package:flutter/material.dart'; | |
| class AddItemsPage extends StatefulWidget { | |
| @override | |
| AddItemsPageState createState() => AddItemsPageState(); | |
| } | |
| class AddItemsPageState extends State<AddItemsPage> { | |
| // const AddItemsPage({super.key}); |
NewerOlder