big_tip 0.1.0 copy "big_tip: ^0.1.0" to clipboard
big_tip: ^0.1.0 copied to clipboard

outdated

Display tips to your users using a custom icon and some text down below

example/lib/main.dart

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

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

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

class HomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Big tip'),
      ),
      body: BigTip(
        icon: Icons.cake,
        message: 'The cake is a lie',
        messageStyle: TextStyle(
          fontSize: 27,
          fontStyle: FontStyle.italic,
        ),
      ),
    );
  }
}
2
likes
30
pub points
71%
popularity

Publisher

verified publisherjesusrp98.page

Display tips to your users using a custom icon and some text down below

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on big_tip