divine_card 0.0.1 divine_card: ^0.0.1 copied to clipboard
A new Flutter package.
divinecard #
Makes an interesting splash effect when tapping its child widget.
Getting Started #
To use this plugin, add divine_card as a dependency in your pubspec.yaml file.
The color can be set with the splashColor property. The splash size is dependent on the size of the child widget passed in - which is constrained by the minRadius and maxRadius parameters.
##Example import 'package:flutter/material.dart';
class HomePage extends StatefulWidget { @override _HomePageState createState() => _HomePageState(); }
class _HomePageState extends State
@override Widget build(BuildContext context) { return Scaffold( backgroundColor: Colors.white, appBar: AppBar( leading: Icon( Icons.menu, color: Color(0xFF4F3C75), size: 30, ), elevation: 0.0, backgroundColor: Colors.white, ), body: Padding( padding: const EdgeInsets.only(left: 20.0, right: 20.0), child: Column( crossAxisAlignment: CrossAxisAlignment.start, children:
],
),
),
);
} }