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

outdated

Display information to the user using a custom layout, that can be actionable

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: 'big_tip',
      theme: ThemeData(
        accentColor: Colors.orange,
      ),
      home: HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Big tip'),
      ),
      body: BigTip(
        child: Icon(Icons.cake),
        title: Text('The cake is a lie'),
        subtitle: Text('Is this a Portal reference?'),
        action: Text('CALL GABEN'),
        actionCallback: () => print('Ding dong'),
      ),
    );
  }
}
3
likes
0
pub points
70%
popularity

Publisher

verified publisherjesusrp98.page

Display information to the user using a custom layout, that can be actionable

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on big_tip