- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 79
refactor: Stac DSL support for ElevatedButton, TextButton, FilledButton, OutlinedButton, IconButton & FabButton #320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
    Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    …d remove unused shape properties - Updated imports to use specific shape border types (e.g., StacBeveledRectangleBorder, StacCircleBorder). - Removed shape properties from various theme and widget classes. - Introduced new shape border types in the models for better structure and clarity. - Cleaned up unused shape border files to streamline the codebase.
- Introduced StacDuration class to represent a span of time with various time units. - Implemented JSON serialization and deserialization methods for StacDuration.
- Introduced StacSize class to represent dimensions with width and height properties. - Implemented JSON serialization and deserialization methods for StacSize.
- Replaced the StacFilledButton class with a new implementation in stac_models. - Updated the parser to reference the new StacFilledButton model. - Removed the old StacFilledButton files and adjusted imports accordingly. - Enhanced the parser to handle onHover and onFocusChange actions with JSON calls.
- Replaced the old StacIconButton class with a new implementation in stac_models. - Updated the parser to reference the new StacIconButton model. - Enhanced the parser to handle additional actions such as onHover and onLongPress. - Removed obsolete files related to the previous StacIconButton implementation.
- Replaced the old StacOutlinedButton class with a new implementation in stac_models. - Updated the parser to reference the new StacOutlinedButton model. - Enhanced the parser to handle onHover and onFocusChange actions with JSON calls. - Removed obsolete files related to the previous StacOutlinedButton implementation. - Added a new StacOutlinedButton to the home screen example.
- Replaced the old StacTextButton class with a new implementation in stac_models. - Updated the parser to reference the new StacTextButton model. - Enhanced the parser to handle onHover and onFocusChange actions with JSON calls. - Removed obsolete files related to the previous StacTextButton implementation. - Adjusted autofocus and clipBehavior properties to be nullable in the new model.
              
                    Potatomonsta
  
              
              approved these changes
              
                  
                    Aug 1, 2025 
                  
              
              
            
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
      
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Type of Change