androidish_ink_well 2.0.0 copy "androidish_ink_well: ^2.0.0" to clipboard
androidish_ink_well: ^2.0.0 copied to clipboard

An ink splash that's similar to material design examples.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:androidish_ink_well/material_ink_splash.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Theme(
          data: Theme.of(context)
              .copyWith(splashFactory: MaterialInkSplash.splashFactory),
          child: Center(
            child: Material(
              child: MaterialButton(
                child: Text('BUTTON'),
                onPressed: () {},
              ),
            ),
          ),
        ),
      ),
    );
  }
}
3
likes
20
pub points
21%
popularity

Publisher

unverified uploader

An ink splash that's similar to material design examples.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on androidish_ink_well