test_packages_ci_cd_20022026 0.5.0
test_packages_ci_cd_20022026: ^0.5.0 copied to clipboard
A Flutter package project to test CI/CD pipelines with pubdev
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:test_packages_ci_cd_20022026/test_packages_ci_cd_20022026.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: 'Flutter Demo',
theme: ThemeData(colorScheme: .fromSeed(seedColor: Colors.deepPurple)),
home: const MyHomePage(title: 'Flutter Test Packages CI/CD 20022026'),
);
}
}
class MyHomePage extends StatelessWidget {
const MyHomePage({super.key, required this.title});
final String title;
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
title: Text(title),
),
body: const Center(
child: CustomLoader(),
),
);
}
}