c_material 0.0.9
c_material: ^0.0.9 copied to clipboard
A package to show All Colors in Any Application for iOS and Android, support Open from a different resource like Access Eazy Colors.
material_colors_flutter #
A new package for choosing colors. It is very powerful and supports all operating systems, including iPhone, Android, the web, and many platforms. It helps in direct access to colors.
_ Simple package helps you to use all colors to direct code and flexible and eazy use when use class it found over 100 colors
Support = [ Android , IOS and WEB(soon) ]; #
- Support All Platform in flutter
- Ease of use and flexibility in accessing colors directly
- It has a strong advantage, which is that it contains almost all colors
- It is also easy to use in any mobile project and supports all platforms
Setup #
iOS
Opt-in to the embedded views preview by adding a boolean property to the app's Info.plist file
with the key io.flutter.embedded_views_preview and the value YES.
iOS (only support> 11.0) you need to add this line in your ios/Podfile
platform :ios, '11.0'
Import it #
Now in your Dart code, you can use:
import 'package:c_material/c_material.dart';
Usage : #
/// You Can use Any Widgets in flutter like this :
/// Container(
color: MaterialColors.blue;
/// )
/// But Note Very Important :
/// you can use class MaterialColors just type proberity class Color
/// Not use MaterialAllProberity ....
Global access to [Colors] from any Project : #
///If you need any thing from [Color Blue]
///you can use it MaterialColors class to access Many Colors :
MaterialColors.blue;
///If you need any thing from [Color Red]
///you can use it MaterialColors class to access Many Colors :
MaterialColors.red;
///If you need any thing from [Color Yellow]
///you can use it MaterialColors class to access Many Colors :
MaterialColors.yellow;
///If you need use color black [Color Black]
///you can use it MaterialColors class to access Many Colors :
MaterialColors.black;
Dependencies #
Flutter #
Additional information Developer : #
I hope this package helped you very well. If you need to contact with me:
[https://www.linkedin.com/in/ammar-matarieh/]
[https://github.com/Ammar2000-Matarieh]
Do not hesitate to contact me if you faced any problem.
Developer: Ammar Matarieh.