material_design_mirae 0.0.2 copy "material_design_mirae: ^0.0.2" to clipboard
material_design_mirae: ^0.0.2 copied to clipboard

Material Design Mirae Asset Sekuritas Indonesia

material_design_mirae #

pub package

Platform Support #

Android iOS MacOS Web Linux Windows
✔️ ✔️ ✔️ ✔️ ✔️ ✔️

Usage #

Import import 'package:material_design_mirae/material_design_mirae.dart'

Example:

import 'package:material_design_mirae/material_design_mirae.dart';

// Button MASI
buttonMASI(
    context,
    buttonColor: primary,
    onPressed: () {
        print("Click Button Primary");
    },
    child: FittedBox(
        child: Text(
            'Primary',
            style: TextStyle(
                color: neutral10,
                fontSize: 10,
            ),
        ),
    ),
),

// Card MASI
cardMASI(
  shadowColor: neutral60.withOpacity(0.1),
  child : Column(
    crossAxisAlignment: CrossAxisAlignment.start,
    children: [
        Container(
            width: 100,
            height: 100,
            child: Icon(
            Icons.image,
            color: neutral50,
            ),
            decoration: BoxDecoration(
                borderRadius: const BorderRadius.only(
                    topRight: Radius.circular(10.0),
                    topLeft: Radius.circular(10.0),
                ),
                color: neutral40,
            ),
        ),
    ],
  ),
),

// Color Pallet
final List _colors = [
  neutral10,
  neutral20,
  neutral30,
  neutral40,
  neutral50,
  neutral60,
  neutral70,
  neutral80,
  neutral90,
  neutral100,
  primary,
  primarySurface,
  primaryHover,
  primaryBorder,
  primaryPressed,
  primaryFocused,
  secondary,
  secondarySurface,
  secondaryHover,
  secondaryBorder,
  secondaryPressed,
  secondaryFocus,
  danger,
  dangerSurface,
  dangerHover,
  dangerBorder,
  dangerPressed,
  info,
  infoSurface,
  infoHover,
  infoBorder,
  infoPressed,
  success,
  successSurface,
  successHover,
  successBorder,
  successPressed,
  warning,
  warningSurface,
  warningHover,
  warningBorder,
  warningPressed,
];
0
likes
120
pub points
0%
popularity

Publisher

unverified uploader

Material Design Mirae Asset Sekuritas Indonesia

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on material_design_mirae