extended library
Classes
- Avatar
- BlueBox
- Box
- Button
- CachedImage
- 이미지를 캐시해서 보기
- CachedImageTap
- CachedImage 를 Tap 할 수 있도록 해 주는 Wrapper 이다.
- ExtendedColumn
- ExtendedContainer
- ExtendedListTile
- It is a copy style widget that work like ListTile material widget. This widget gives more flexible options on leading sizes and margin, paddings.
- ExtendedRow
- ExtendedService
- ExtendedText
- This is a clone of ShareButton that provides a callback to produce the text( or link ) lazily.
- GradientCard
- child can be used over url.
- GreenBox
- HexColor
-
Color color1 = HexColor("b74093"); Color color2 = HexColor("#b74093"); Color color3 = HexColor("#88b74093"); // If you wish to use ARGB format
- IconTextButton
- IconTextChip
- Input
- It is a clone of TextField.
- PagePadding
- Give padding vertically and horizontally.
- Popup
- PopupOption
- RedBox
- Select
- Select Box
- text 에 공유 할 내용 입력. HTTP URL 등의 공유 코드. subject 는 제목. subject 에 값이 주어져도, 상황에 따라 subject 는 사용되지 않을 수 있음.
- Spinner
- TextChip
- Text Chip with tap action.
- TipBox
- It is a copy style widget that work like ListTile material widget. This widget gives more flexible options on leading sizes and margin, paddings.
- YellowBox
Constants
- black → const Color
- blue → const Color
- bodyText3 → const TextStyle
- Extra body text sizes.
- bodyText4 → const TextStyle
- bodyText5 → const TextStyle
- danger → const Color
- ERROR_NAVIGATOR_KEY → const String
- gold → const Color
- green → const Color
- grey → const Color
- lg → const double
- maroon → const Color
- md → const double
- pageInset → const EdgeInsets
- pagePadding → const double
- red → const Color
- slateGray → const Color
- sm → const double
- space2xl → const SizedBox
- space3xl → const SizedBox
- spaceLg → const SizedBox
- spaceMd → const SizedBox
- spaceSm → const SizedBox
- spaceXl → const SizedBox
- spaceXs → const SizedBox
- spaceXsm → const SizedBox
- spaceXxl → const SizedBox
- spaceXxs → const SizedBox
- white → const Color
- xl → const double
- xs → const double
- xsm → const double
- xxl → const double
- xxs → const double
- xxxl → const double
Properties
Functions
-
alert(
String title, dynamic content) → Future< void> -
confirm(
String title, String content) → Future< bool> - Confirm dialog
-
download(
String url, {Duration expiration = const Duration(days: 365), String? filename, String? dirPath, Function? onDownloadBegin, Function? onDownloadEnd, Function? onDownloadProgress}) → Future< String> - Download file or data from the Internet and cache it locally.
-
downloadContent(
String url, {Duration expiration = const Duration(days: 365), String? filename, String? dirPath, Function? onDownloadBegin, Function? onDownloadEnd, Function? onDownloadProgress}) → Future< Uint8List> -
error(
dynamic e, [String title = 'ERROR']) → Future< void> - Generic error handler
-
getArg<
T> (BuildContext context, String name, [dynamic defaultValue]) → T - Helper method to use the "Get.arguments" method easier.
-
inputDialog(
String title, String content) → Future< String?> - Input dialog
-
intersperse<
T> (T element, Iterable< T> iterable) → Iterable<T> -
Puts
element
between every element inlist
. -
isHtml(
String t) → bool - Returns true if the text is HTML.
-
printLongString(
String text) → void -
safeFilename(
String filename, {String separator = '-', bool withSpaces = false, bool lowercase = false, bool onlyAlphanumeric = false}) → String - from https://github.com/2n-1/safe_filename
-
toDouble(
dynamic v) → double - Return double from dynamic.
-
toInt(
dynamic v) → int - Return an int from dynamic.
-
toString(
dynamic v) → String - Return a String from dynamic.
Typedefs
-
FutureStringCallback
= Future<
String?> Function() - StringCallback = void Function(String)
- VoidCallbackString = void Function(String, _InputState)