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
// 计算公积金缴存和无限缴存 | |
//http://www.ab126.com/goju/10770.html | |
//年终奖计算方式 | |
//https://www.sohu.com/a/294643118_569711 | |
/// 年度汇算,一年收入汇算 | |
fun main() { |
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
// ignore:undefined_prefixed_name | |
ui.platformViewRegistry.registerViewFactory('someViewType', (int viewId) { | |
final wrapper = DivElement() | |
..style.width = '100%' | |
..style.height = '100%'; | |
/// FIX: | |
/// https://github.com/flutter/flutter/issues/40080 | |
/// https://github.com/flutter/flutter/issues/50452 | |
/// document.getElementsByTagName('flt-platform-view')[0].shadowRoot.getElementById('plotly_div_id_') |
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
https://github.com/leisim/auto_size_text/blob/master/lib/src/text_util.dart#L5 | |
import 'dart:ui'; | |
import 'package:flutter/widgets.dart'; | |
bool checkTextFits(TextSpan text, Locale locale, double scale, int maxLines, | |
double maxWidth, double maxHeight) { |