speech_bubble 0.0.1
speech_bubble: ^0.0.1 copied to clipboard
A widget that emulates a speech bubble in flutter.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:speech_bubble/speech_bubble.dart';
void main() => runApp(new MyApp());
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => new _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return new MaterialApp(
home: new Scaffold(
appBar: new AppBar(
title: const Text('Plugin example app'),
),
body: new Center(
child: new SpeechBubble(
nipLocation: NipLocation.TOP,
child: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
Text("Enter your children here"),
Text("Right here")
],
),
),
),
),
);
}
}