A set of customized flutter widgets to help you save time building your layouts.
Add the plugin:
CustomCheck(
value: true,
activeColor: Colors.green,
type: CheckType.circle,
size: 24,
onChanged: (value){
},
)
- custom builder
CustomCheck(
value: value,
activeColor: Colors.green,
type: CheckType.circle,
size: 24,
builder: (ctx, size) {
return Icon(
Icons.star,
color: Colors.white,
size: size,
);
},
onChanged: (value) {
},
)
CustomSwitch(
value: value,
activeColor: Colors.green,
pointColor: Colors.white,
onChanged: (value){
},
)
Txt(
'Click here',
textSize: 28,
textAlign: TextAlign.center,
rich: Rich(
key: 'here',
onRichTap: (value) {
print('onRichTap: ${value}');
},
style: TextStyle(
fontWeight: FontWeight.bold,
decoration: TextDecoration.underline
)
),
)
Txt(
'click_message',
textSize: 28,
textAlign: TextAlign.center,
builderText: (value) => 'Click here',
),
- DefaultButton
DefaultButton(
value: 'Click',
activeColor: Colors.green,
textColor: Colors.white,
onPressed: () {},
)
- CustomProgressButton
CustomProgressButton(
isLoading: isLoading,
border: 16.0,
ignorePlatform: true,
onPressed: () async {
setState(() => isLoading = !isLoading);
await Future.delayed(Duration(seconds: 2));
setState(() => isLoading = !isLoading);
},
value: 'Click',
activeColor: Colors.green,
)
- Switch
- Check
- Text
- Button
If you have any features you want to see in this app, feel free to make a suggestion. 🎉