Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

flutter gradients

a curated collection of splendid gradients made in dart. only linear gradi.ents included for now.

installation

add the package

dependencies:
  flutter_gradients: ^0.0.1

usage

import the package

import 'package:flutter_gradients/flutter_gradients.dart';

how to use

exemple

    container(
        width: 150,
        height: 150,
        decoration: boxdecoration(
            shape: boxshape.circle,
            [gradient: fluttergradient.warmflame()],
        ),
    );

catalogue

1 2 3
image 01 image 02 gradients
image 04 image 05 image 06
image 07 image 08 image 09
image 10 image 11 image 12
image 13 image 14

examples

web and command-line examples can be found in the example folder.

web examples

in order to run the web examples, please follow these steps:

  1. download this repo and enter the directory
  2. run pub get
  3. run pub run build_runner serve example
  4. navigate to http://localhost:8080/web/ in your browser

command line examples

in order to run the command line example, please follow these steps:

  1. download this repo and enter the directory
  2. run pub get
  3. run dart example/lib/main.dart

flutter example

install flutter

in order to run the flutter example, you must have flutter installed. for installation instructions, view the online
documentation.

run the app

  1. open up an android emulator, the ios simulator, or connect an appropriate mobile device for debugging.
  2. open up a terminal
  3. cd into the example/lib/ directory
  4. run flutter doctor to ensure you have all flutter dependencies working.
  5. run flutter packages get
  6. run flutter run

Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Comments are closed.