This file contains 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_widget_from_html/flutter_widget_from_html.dart'; | |
const kHtml = | |
'<figure id="attachment_1254545" style="width: 800px" class="wp-caption alignnone"><img class="wp-image-1254545 size-full" src="https://s3media.freemalaysiatoday.com/wp-content/uploads/2019/10/curi-roti-video-fb-1.jpg" alt="" width="800" height="500" srcset="https://s3media.freemalaysiatoday.com/wp-content/uploads/2019/10/curi-roti-video-fb-1.jpg 800w, https://s3media.freemalaysiatoday.com/wp-content/uploads/2019/10/curi-roti-video-fb-1-300x188.jpg 300w, https://s3media.freemalaysiatoday.com/wp-content/uploads/2019/10/curi-roti-video-fb-1-768x480.jpg 768w, https://s3media.freemalaysiatoday.com/wp-content/uploads/2019/10/curi-roti-video-fb-1-696x435.jpg 696w, https://s3media.freemalaysiatoday.com/wp-content/uploads/2019/10/curi-roti-video-fb-1-672x420.jpg 672w" sizes="(max-width: 800px) 100vw, 800px" /><figcaption class="wp-caption-text">The boy punching the bread vendor who chase |
This file contains 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
Listening for coverage report on port 9292... | |
Running tests with code coverage... | |
Observatory listening on http://127.0.0.1:9292/ | |
00:00 +0: bundle bundleFlutterTests | |
00:00 +1: concurrent jobs in context run square | |
00:00 +2: concurrent jobs in context run sylph | |
00:00 +3: concurrent jobs not in context run square | |
00:01 +4: config getPoolDevices | |
00:01 +5: config isActivePoolType | |
00:01 +6: config getPoolType |
This file contains 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_widget_from_html/flutter_widget_from_html.dart'; | |
const html = """ | |
<div style="font-size:18px;font-family:verdana;"> | |
<h1 style="color:#B22222;font-size:20px !important;font-weight:bold;">Bones Of Hand</h1> | |
<ol style="line-height:1.5em;"> | |
<li class="Style" style="line-height:150%;"> | |
<span style="color:#000000;"> | |
<span style="font-size:18px;"> |
This file contains 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
> Task :app:dependencies | |
------------------------------------------------------------ | |
Project :app | |
------------------------------------------------------------ | |
androidTestAnnotationProcessor - Classpath for the annotation processor for 'androidTest'. (n) | |
No dependencies | |
androidTestApi - API dependencies for 'androidTest' sources. (n) |
This file contains 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_widget_from_html/flutter_widget_from_html.dart'; | |
const html = """ | |
<figure> | |
<img src="https://media.giphy.com/media/6VoDJzfRjJNbG/giphy-downsized.gif" width="250" height="171" /> | |
<figcaption>Source: <a href="https://gph.is/QFgPA0">https://gph.is/QFgPA0</a></figcaption> | |
</figure> | |
"""; |
This file contains 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:convert'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter_widget_from_html/flutter_widget_from_html.dart'; | |
import 'package:html/dom.dart' as dom; | |
const html = """<p><span style=\"color: rgb(255, 0, 0);\">الوكيل الاخباري</span></p><p> </p><p>يترقب عشاق النجمة العالمية أنجلينا جولي، عرض الجزء الثاني من فيلم \"مالفيسينت\"، الذي تم عرض أول أجزائه عام 2014.</p><p><br>وذكرت الصفحة الرسمية لاستوديوهات والت ديزني، على موقع التواصل الاجتماعي \"تويتر\"، أن عرض الفيلم، سيتم في يوم 18 أكتوبر/ تشرين الأول المقبل. </p><p><br>ونشرت الصفحة فيديو جديدا، يرصد تحضيرات الممثلة العالمية أنجلينا جولي لشخصية \"مالفيسينت\"، خلال الجزء الثاني من الفيلم الذي يحمل اسم \"مالفيسينت ميستريس أوف إيفل\".</p><p> </p><p>ويرصد الفيديو تحول أنجلينا جولي إلى الشخصية الشريرة من خلال تغيير بعض ملامح وجهها، في الجزء الثاني من الفيلم، الذي شاركت في الجزء الأول منه عام 2014. </p><p><br>ويشارك عدد كبير من نجوم هوليوود، مع الفنانة العالمية أنجلينا جولي، في الجزء الثاني من الفيلم، وأبرزهم آيلي فانينج وش |
This file contains 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:convert'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter_widget_from_html/flutter_widget_from_html.dart'; | |
import 'package:html/dom.dart' as dom; | |
const html = """<p><span style=\"color: rgb(255, 0, 0);\">الوكيل الاخباري – </span></p><p> </p><p>أعلنت أسرة سائقة سيارات السباق الأميركية جيسي كومبس عن وفاته في حادث تصادم بسرعة فائقة أثناء محاولتها تسجيل رقم قياسي جديد في السرعة، وفق ما أفادت به صحيفة ديلي ميل البريطانية. </p><p> </p><p>وتوفيت الشابة بنت الـ39 سنة ، خلال التحطم الذي وقع خلال الساعات الماضية، على مضمار قياس السرعات الكبيرة في صحراء ألوفيرد بولاية أوريجون. </p><p></p><p><img src=\"https://img.alwakeelnews.com/Content/Upload/Editor/Image1_8201929141942772302584.png\"><br></p><p> </p><p><br>ويطلق على كومبوس، لقب \"أسرع امرأة على أربع عجلات\"، ولهذا، كانت تسعى للحصول على رقم قياسي لسرعة المركبات الصاروخية، تحطم به أرقام المتسابقات والمتسابقين السوابق، في بطولة نسر أمريكا الشمالية.</p><p> </p><p><img src=\"https://img.alwakeelnews.com/Content/ |
This file contains 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_widget_from_html/flutter_widget_from_html.dart'; | |
// https://www.onetechstop.net/wp-json/wp/v2/posts | |
const html = """ | |
<p>Damn, none of the smartphones are getting leaked as much as Pixel 4. However, it hasn’t touched the height like Pixel 3 last year. But this new leak showcases some new camera features the smartphone.</p> | |
<p>The new series of camera features leaks tells us the next generation Pixel device is going to be epic.</p> | |
<p>The new leak shows the setting page of that section, which is generally not used by people. That is the Flash, the timer, the face retouch, and others have been moved to the floating overlay menu. </p> |
This file contains 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
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="xxx"> | |
<!-- ... --> | |
<application> | |
<!-- ... --> | |
<service android:name=".FcmService" android:exported="false"> | |
<!-- priority >0 để đè lên service của firebase_messaging --> | |
<!-- https://github.com/FirebaseExtended/flutterfire/blob/master/packages/firebase_messaging/android/src/main/AndroidManifest.xml --> | |
<intent-filter android:priority="1"> |
This file contains 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
<?php | |
$url = 'https://httpbin.org/anything?'; | |
function proxyDoHeader($curl, $headerLine) | |
{ | |
$trimmed = trim($headerLine); | |
if (strlen($trimmed) > 0 && !preg_match('/^(Date|Server|Transfer)/', $trimmed)) { | |
header($trimmed); | |
} |