made_with_serverpod 1.2.0 copy "made_with_serverpod: ^1.2.0" to clipboard
made_with_serverpod: ^1.2.0 copied to clipboard

Widget showing a made with Serverpod banner with an optional link to source code.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:made_with_serverpod/made_with_serverpod.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Made with Serverpod Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const DemoPage(),
    );
  }
}

class DemoPage extends StatelessWidget {
  const DemoPage({super.key});

  @override
  Widget build(BuildContext context) {
    return const Scaffold(
      body: MadeWithServerpod(
        // child: Center(
        child: Row(
          mainAxisSize: MainAxisSize.max,
          children: [
            Expanded(
              child: AnimatedServerpodLogo(
                brightness: Brightness.light,
                animate: true,
              ),
            ),
            Expanded(
              child: ServerpodProgressIndicator(),
            ),
          ],
        ),
      ),
      // ),
    );
  }
}
0
likes
140
points
5.45k
downloads

Publisher

verified publisherserverpod.dev

Weekly Downloads

Widget showing a made with Serverpod banner with an optional link to source code.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_svg, lottie, url_launcher

More

Packages that depend on made_with_serverpod