shdow_text 0.0.1 copy "shdow_text: ^0.0.1" to clipboard
shdow_text: ^0.0.1 copied to clipboard

A new Flutter package.

example/lib/main.dart

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

// pub publish --dry-run
void main() => runApp(MaterialApp(home: MyApp()));

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("ShadowTextDemo"),
      ),
      body: Center(
        child: ShadowText(
            text: "ABC",
            color: Colors.lightBlue,
            shadowColor: Colors.grey,
            shadowBuilder: (BuildContext context, String text, Color color) =>
                Container(
                  child: Text(
                    text,
                    style: TextStyle(color: color, fontSize: 60,fontWeight: FontWeight.bold),
                  ),
                )),
      ),
    );
  }
}
0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

A new Flutter package.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on shdow_text