Skip to content
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

change the colour of outer circle in joystickView() #31

Open
azarudeenpn opened this issue Sep 10, 2020 · 7 comments
Open

change the colour of outer circle in joystickView() #31

azarudeenpn opened this issue Sep 10, 2020 · 7 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@azarudeenpn
Copy link

Is there any way i can change the colour of outer circle?

@artur-ios-dev
Copy link
Owner

Which one do you mean? There are currently those parameters regarding joystick's colour you can change:

/// Color of the joystick background
  ///
  /// Defaults to [Colors.blueGrey]
  final Color backgroundColor;

  /// Color of the inner (smaller) circle background
  ///
  /// Defaults to [Colors.blueGrey]
  final Color innerCircleColor;

You can pass those parameters to the JoystickView's init.

@artur-ios-dev artur-ios-dev added the question Further information is requested label Sep 10, 2020
@azarudeenpn
Copy link
Author

I mean the color of outer circle (bigger) which limiting the movement of center button.

@artur-ios-dev
Copy link
Owner

Isn't it the backgroundColor "Color of the joystick background" then? Or do you mean something else?

@azarudeenpn
Copy link
Author

I mean the border circle.

@artur-ios-dev
Copy link
Owner

Not possible at the moment then. Need to inject the colour all the way to factory CircleView.joystickCircle(double size, Color color). PR is welcome.

@artur-ios-dev artur-ios-dev added enhancement New feature or request good first issue Good for newcomers and removed question Further information is requested labels Sep 10, 2020
@jmsingh6871
Copy link

Hello, can I try to solve out this?

@artur-ios-dev
Copy link
Owner

Hello, can I try to solve out this?

Go ahead :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants