keep_it_simple 0.0.18 copy "keep_it_simple: ^0.0.18" to clipboard
keep_it_simple: ^0.0.18 copied to clipboard

This package can make it easier for you to develop applications. There are already available functions that you can use according to your needs.

Keep It Simple #

This package is made to make it easier for us in the process of developing applications using Flutter. already available components and functions that you can use according to your needs. I hope this package can make your life easier. Your support and support means a lot to us. Please click the image below to donate. please click saweria for you Indonesian people. best regards from us. Thank You

Support #

Buy Me A Coffee
Click the image above to donate to always support us

Features #

Usage AddWidth / AddHeight #

This widget is used to increase the width or height distance

import 'package:keep_it_simple/keep_it_simple.dart';
// or
import 'package:keep_it_simple/components/add_space.dart';

const AddWidth(20),
const AddHeight(20),

Usage Corner #

This widget is used to make the corners of the widget to be curved as a whole

import 'package:keep_it_simple/keep_it_simple.dart';
// or
import 'package:keep_it_simple/components/corner.dart';

Corner(
  corner: 30,
  child: Container(
    color: Colors.red,
    width: 100,
    height: 100,
  ),
)

Usage rupiah #

this function is used to make the nominal format into rupiah

import "package:keep_it_simple/keep_it_simple.dart";
// or
import "package:keep_it_simple/helpers/rupiah.dart";

Text(rupiah(1000).toString());

Usage snackbar #

This function makes it easier for you to call snackbar

import "package:keep_it_simple/keep_it_simple.dart";
// or
import "package:keep_it_simple/helpers/snackbar.dart";

// simple way
snackBar(context, text: 'Hallo');
// or
snackBar(context,
    bgColor: Colors.teal,
    isFLoating: false,
    text: 'Success',
    actionLabel: 'Dismiss', actionPress: () {
  // do something
});

Usage SimpleShimmer #

This widget is used to create a simple shimmer/loading effect.

import "package:keep_it_simple/keep_it_simple.dart";
// or
import "package:keep_it_simple/components/simple_shimmer.dart";

// simple way
const SimpleShimmer()
// or
const SimpleShimmer(
  bgColor: Colors.black,
  isCircle: false,
  looping: 1,
  height: 50,
),

Usage PreviewImage #

This widget is used to create a simple shimmer/loading effect.

import "package:keep_it_simple/keep_it_simple.dart";
// or
import "package:keep_it_simple/components/preview_image.dart";

// simple way
TextButton(
  onPressed: () {
    Navigator.push(context, MaterialPageRoute(builder: (_) {
      return const PreviewImage(
        image: 'https://docs.flutter.dev/assets/images/shared/brand/flutter/logo/flutter-lockup.png',
      );
    }));
  },
  child: const Text('click to preview')
)
// or
TextButton(
  onPressed: () {
    Navigator.push(context, MaterialPageRoute(builder: (_) {
      return const PreviewImage(
        iconBackColor: Colors.white,
        bgColor: Colors.green,
        appBarColor: Colors.red,
        image: 'https://docs.flutter.dev/assets/images/shared/brand/flutter/logo/flutter-lockup.png',
      );
    }));
  },
  child: const Text('click to preview')
)
3
likes
140
pub points
14%
popularity

Publisher

unverified uploader

This package can make it easier for you to develop applications. There are already available functions that you can use according to your needs.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, intl, photo_view, shimmer

More

Packages that depend on keep_it_simple