goldpriceupdate 0.0.4 copy "goldpriceupdate: ^0.0.4" to clipboard
goldpriceupdate: ^0.0.4 copied to clipboard

Gold Price Update

example/main.dart

import 'package:flutter/material.dart';
import 'package:goldpriceupdate/goldpriceupdate.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: Scaffold(
        appBar: AppBar(
          title: const Text('Flutter Demo'),
        ),
        body: Center(
          child: GoldPriceUpdate(
            widget1: Container(
              width: 100,
              height: 100,
              color: Colors.red,
            )
          ),
        ),
      ),
    );
  }
}