Commit graph

26 commits

Author SHA1 Message Date
ashilkn 66200c2930 Minor correction in a comment 2022-12-27 14:12:05 +05:30
ashilkn 50970a6875 Made success state of button as short as possible if it doesn't have to be surfaced on UI 2022-12-27 14:00:24 +05:30
ashilkn 4ea6a9a22b Used better variable names and comments 2022-12-27 13:37:10 +05:30
ashilkn 348644a9ce Added option to disable execution states in ButtonWidget 2022-12-27 12:42:18 +05:30
ashilkn f6bb04b25f Show success state for 2 seconds for buttons inside an alert 2022-12-26 17:49:38 +05:30
ashilkn fe7a1ce556 Merge branch 'main' into replace-dialogs 2022-12-26 16:40:25 +05:30
ashilkn fc3cbc67cd Set default button size of button component to large 2022-12-26 14:43:40 +05:30
ashilkn 75c0fee536 Revert "Used StrokeAlign.outside for button's stroke which matchs figma"
This reverts commit d693868b6c.
2022-12-22 10:12:05 +05:30
ashilkn d693868b6c Used StrokeAlign.outside for button's stroke which matchs figma 2022-12-21 13:58:39 +05:30
ashilkn ec9a2d606b Fixed border issue on button component 2022-12-21 12:16:51 +05:30
ashilkn 9176c45c88 Make alert dismiss even if onTap is null of the ButtonWidget used in it 2022-12-20 16:41:02 +05:30
Neeraj Gupta 31d3f0830d
ButtonType: Add option to override iconColor 2022-12-17 10:16:27 +05:30
ashilkn 6c2b6f8eed bug fix 2022-12-16 16:34:51 +05:30
ashilkn 60b69beed9 Minor changes 2022-12-16 16:08:49 +05:30
ashilkn 73415ff9a0 Dismiss ActionSheet properly after action is complete 2022-12-16 13:18:57 +05:30
ashilkn 78e1c05d93 Handled error states in button when used in action sheet 2022-12-16 12:56:24 +05:30
ashilkn a370781c94 Minor changes 2022-12-16 12:13:25 +05:30
ashilkn 6c16c9dbbc Check if mounted before calling setState 2022-12-16 12:06:37 +05:30
ashilkn de50b052a8 Return info about button tapped in action sheet 2022-12-16 12:00:01 +05:30
ashilkn 692fa4e33c Added a comment 2022-12-15 16:40:34 +05:30
ashilkn d59863670c Give Color/Style to Small ButtonSize 2022-12-15 14:52:39 +05:30
ashilkn a930c887a7 Give all buttons execution states 2022-12-15 11:26:32 +05:30
ashilkn 5b356d12aa Apply new changes for LargeButton 2022-12-15 10:59:19 +05:30
ashilkn 6281247764 Changes to maintain same button width during execution state in small button 2022-12-14 13:25:28 +05:30
ashilkn c9b8392663 Changed width of button to take size of it's child for SmallButton 2022-12-14 11:31:54 +05:30
ashilkn f0854683f8 Renamed names with 'LargeButton' to 'Button' or 'CustomButton
'
2022-12-14 11:05:18 +05:30
Renamed from lib/ui/components/large_button_widget.dart (Browse further)