agar 0.0.1 copy "agar: ^0.0.1" to clipboard
agar: ^0.0.1 copied to clipboard

with agar package you can use if

agar:with agar you can use if.

Features #

agar: you can use agar(dynamic firstValue,String operator,dynamic secondValue) and it return true or false agarWidget: you can use agarWidget(dynamic firstValue,String operator,dynamic secondValue,Widget trueWidget,Widget falseWidget), and it return falseWidget or trueWidget

Usage #

first of all use import 'package:agar/agar.dart'; after that you can use agar or agarWidget example 1 : print(agar(15,'>=',15).toString()); it return true and you can use '=' , '!=' , '<=' , '>=' , '<' , '>' operator example 2 : agarWidget('kawa', '=', 'kawa', Text('it is true'), Text('it is false')), it return a text widget which has 'it is true' value and you can use '=' , '!=' , '<=' , '>=' , '<' , '>' operator

5
likes
0
pub points
14%
popularity

Publisher

unverified uploader

with agar package you can use if

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on agar