card_test 0.0.1
card_test: ^0.0.1 copied to clipboard

i create this package for learning perpuse :)

example/lib/main.dart

import 'package:card_test/card_test.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,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return SafeArea(
        child: Scaffold(
      appBar: AppBar(
        title: Text("example of CardBt"),
        centerTitle: true,
      ),
          body: Center(
            child: Padding(
              padding: const EdgeInsets.all(8.0),
              child: CardBt(
                cardBtBuilder: () {
                 return Text("This is test text ." , style: TextStyle(fontSize: 20),);
                },
              ),
            ),
          ),


    ));
  }
}
1
likes
80
pub points
8%
popularity

Publisher

Unknown

i create this package for learning perpuse :)

Repository (GitHub)
View/report issues

Documentation

API reference

License

LICENSE

Dependencies

flutter

More

Packages that depend on card_test