Skip to content

Demonstration of flutter application, including packaging.

License

Notifications You must be signed in to change notification settings

suikan4github/demo-flutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

78 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

demo-flutter

Demonstration of flutter application, including packaging and automated releases.

CI/CD Pipeline Deploy to GitHub Pages

🌐 Try it Online

Live Demo: https://suikan4github.github.io/demo-flutter/

πŸ“¦ Download

Download the latest release for your platform:

Linux Packages

Windows Packages

  • Windows ZIP: Latest Release - Portable Windows application (x86_64/amd64)
  • Windows MSIX: Latest Release - Modern Windows 10/11 package (x86_64/amd64)
  • Windows Installer: Latest Release - Professional Windows installer with setup wizard (x86_64/amd64)

macOS Packages

  • macOS ZIP (Intel): Latest Release - Portable macOS application bundle for Intel Macs (x86_64/amd64)
  • macOS DMG (Intel): Latest Release - macOS disk image installer for Intel Macs (x86_64/amd64)
  • macOS ZIP (Apple Silicon): Latest Release - Native Apple Silicon application bundle (ARM64)
  • macOS DMG (Apple Silicon): Latest Release - Native Apple Silicon disk image installer (ARM64)

Installation Methods

Linux Installation

AppImage (Universal):

chmod +x demo-flutter-v*-linux-amd64.AppImage
./demo-flutter-v*-linux-amd64.AppImage

Debian Package (Ubuntu/Debian):

sudo dpkg -i demo-flutter-v*-linux-amd64.deb
sudo apt-get install -f  # Fix dependencies if needed

demo-flutter  # Run from anywhere

RPM Package (Red Hat/Fedora/CentOS):

sudo rpm -i demo-flutter-v*-linux-amd64.rpm
# or
sudo dnf install demo-flutter-v*-linux-amd64.rpm  # Fedora
# or  
sudo yum install demo-flutter-v*-linux-amd64.rpm  # CentOS/RHEL

demo-flutter  # Run from anywhere

Snap Package (Universal Linux):

sudo snap install demo-flutter-v*-linux-amd64.snap --dangerous --devmode

demo-flutter  # Run from anywhere

Note: --dangerous flag is needed for local snap files not from the official store

Windows Installation

Windows Installer (Recommended):

  1. Download demo-flutter-v*-windows-amd64-setup.exe
  2. Double-click the installer to run the setup wizard
  3. Follow the installation prompts (Administrator privileges required)
  4. Launch from Start Menu, Desktop shortcut, or search "Demo Flutter"

Professional installation with Start Menu integration, Desktop shortcut, and automatic uninstaller registration

ZIP Package (Portable):

  1. Download demo-flutter-v*-windows-amd64.zip
  2. Extract the ZIP file to your desired location
  3. Run demo_flutter.exe from the extracted folder

No installation required - fully portable Windows application

MSIX Package (Modern Windows 10/11):

  1. Download demo-flutter-v*-windows-amd64.msix
  2. Double-click the MSIX file to install
  3. Click "Install" when prompted (sideloading required)
  4. Launch from Start Menu or search "Demo Flutter"

Modern Windows package with automatic updates and clean uninstall

Note: MSIX packages require enabling sideloading in Windows settings:

  • Go to Settings > Update & Security > For developers
  • Select "Sideload apps" or "Developer mode"

macOS Installation

Choose the right version for your Mac:

  • Intel Mac: Download files with amd64 suffix (e.g., demo-flutter-v*-macos-amd64.zip)
  • Apple Silicon Mac (M1/M2/M3): Download files with arm64 suffix (e.g., demo-flutter-v*-macos-arm64.zip)

ZIP Package (Portable):

  1. Download the appropriate ZIP file for your Mac architecture
  2. Extract the ZIP file to your desired location
  3. Double-click demo_flutter.app to run the application
  4. If you see "demo_flutter.app can't be opened because it is from an unidentified developer":
    • Right-click the app and select "Open"
    • Click "Open" in the security dialog
    • Or go to System Preferences > Security & Privacy > General and click "Open Anyway"

No installation required - fully portable macOS application bundle

DMG Package (Recommended):

  1. Download the appropriate DMG file for your Mac architecture
  2. Double-click the DMG file to mount it
  3. Drag demo_flutter.app to the Applications folder
  4. Launch from Applications folder or Spotlight search
  5. If you see a security warning, follow the same steps as above

Professional macOS installation with drag-and-drop to Applications folder

Architecture Support

This application is built for multiple architectures:

  • Linux x86_64 (amd64): Intel/AMD 64-bit processors, compatible with most modern Linux Desktop systems
  • Windows x86_64 (amd64): Intel/AMD 64-bit processors, compatible with Windows 10/11 (64-bit)
  • macOS x86_64 (amd64): Intel-based Mac computers, compatible with macOS 10.14 (Mojave) and later
  • macOS ARM64: Apple Silicon Macs (M1/M2/M3), native performance without Rosetta 2

Note:

  • Intel Mac users should download the amd64 versions
  • Apple Silicon Mac users should download the arm64 versions for optimal performance
  • arm64 versions provide native Apple Silicon performance without translation layers

Development

This repository contains a simple Flutter application that demonstrates basic functionality and cross-platform packaging.

Getting Started

  1. Clone the repository:
    git clone https://github.com/suikan4github/demo-flutter.git
    cd demo-flutter
  2. Install dependencies:
    flutter pub get

Build and Run

Linux Desktop

  1. Run the application:
    flutter run -d linux

Windows Desktop

  1. Run the application (on Windows):
    flutter run -d windows

macOS Desktop

  1. Run the application (on macOS):
    flutter run -d macos

Web

  1. Run the application:
    flutter run -d web-server

Then, you will see output similar to the following:

 Launching lib/main.dart on Web Server in debug mode...
 Waiting for connection from debug service on Web Server...         11.9s
 lib/main.dart is being served at http://localhost:43075
 The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved development workflow.

 Flutter run key commands.
 R Hot restart.
 h List all available interactive commands.
 d Detach (terminate "flutter run" but leave application running).
 c Clear the screen
 q Quit (terminate the application on the device).

Click the link to open the application in your web browser.

About

Demonstration of flutter application, including packaging.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •