Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Idcare-frontend-web Idcare-frontend-web
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Id-Care
  • Idcare-frontend-webIdcare-frontend-web
  • Merge requests
  • !1

Merged
Created Apr 07, 2021 by André Sacilotto Santos@andre.santosOwner

Reusable button

  • Overview 0
  • Commits 6
  • Pipelines 2
  • Changes 8

Implemented the reusable button.

  • Including a class named button_type.dart with an enum(ButtonType) with different button options with a factory named ButtonTypeExtension.
  • ButtonTypeExtension generates button specifications for each enum type.
  • Those specifications are stored in ButtonConfigurations class inside button_configurations.dart file.
  • Finaly, in the reusable_button.dart file inside the ReusableButton class all previously set up configurations are called to the initializer and used on the Widget build's definitions.
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: reusable-button