Skip to content

crawlinknetworks/sized_icon_button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sized_icon_button

Create different size of Icon Buttons

Getting Started

Install

sized_icon_button: <version>

Usage

Basic Usage

 SizedIconButton(
    icon: Icon(
    Icons.alarm,
    ),
    onPressed: () {
    print("onPressed");
    },
),

Advanced

SizedIconButton(
    color: Colors.blue.shade100,
    padding: EdgeInsets.all(24),
    tooltip: 'Alarm',
    icon: Icon(
    Icons.alarm,
    color: Colors.black,
    size: 48,
    ),
    onPressed: () {
    print("onPressed");
    },
),

Options

final Icon icon;
final Function()? onPressed;
final EdgeInsets? padding;
final bool autofocus;
final Color? splashColor;
final Color? focusColor;
final Color? hoverColor;
final Color? color;
final FocusNode? focusNode;
final String? tooltip;
final Decoration? tooltipDecoration;

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published