expandable_text_widget 0.0.2 copy "expandable_text_widget: ^0.0.2" to clipboard
expandable_text_widget: ^0.0.2 copied to clipboard

outdated

A new Flutter package.

Makes an interesting splash effect when tapping its child widget.

Getting Started #

To use this plugin, add splash_tap 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';  
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),  
          ),  
        ),  
      ),  
    );  
  }  
}  
6
likes
0
pub points
42%
popularity

Publisher

unverified uploader

A new Flutter package.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on expandable_text_widget