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

Creates quote widget or string

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:dart_quote/widget_quote.dart';
import 'package:dart_quote/string_quote.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Quote Demo'),
        ),
        body: const MyHomePage(),
      ),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Padding(
      padding: const EdgeInsets.all(32.0),
      child: Center(
        child: Container(
            child: StringQuote(
          text: 'This is the sample text including Quotes.',
        ).quote()),
      ),
    );
  }
}
1
likes
130
points
46
downloads

Publisher

verified publisherappmarchsoftware.com

Weekly Downloads

Creates quote widget or string

Repository (GitHub)

Documentation

API reference

License

unknown (license)

Dependencies

flutter

More

Packages that depend on dart_quote