Skip to content

customized is a set of customazados widgets to help you in your layouts

License

Notifications You must be signed in to change notification settings

srnunio/customized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

customized

A set of customized flutter widgets to help you save time building your layouts.

Add the plugin:

Basic Usage (CustomCheck)

   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) {
     
   },
 )

Basic Usage (CustomSwitch)

  CustomSwitch(
      value: value,
      activeColor: Colors.green, 
      pointColor: Colors.white, 
      onChanged: (value){
        
      },
    )

Basic Usage (Txt)

  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',
),

Basic Usage (Button)

  • 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,
 )

Preview (CustomCheck)

Preview (CustomSwitch)

Example

|

Widgets currently available

  • Switch
  • Check
  • Text
  • Button

If you have any features you want to see in this app, feel free to make a suggestion. 🎉

Don't forget to give it a ⭐ this motivates me to share more open source.

About

customized is a set of customazados widgets to help you in your layouts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages