splash_tap 0.1.2 copy "splash_tap: ^0.1.2" to clipboard
splash_tap: ^0.1.2 copied to clipboard

Makes an interesting splash effect when tapping it's child widget

example/main.dart

import 'package:flutter/material.dart';
import 'package:splash_tap/splash_tap.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Splash Tap Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: SplashTapDemo(),
    );
  }
}

class SplashTapDemo extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Splash(
          onTap: () {},
          child: Text(
            'Splash!',
            style: TextStyle(fontSize: 32),
          ),
        ),
      ),
    );
  }
}
15
likes
30
pub points
56%
popularity

Publisher

verified publisherfunwith.app

Makes an interesting splash effect when tapping it's child widget

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on splash_tap